Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / ndp / fx / src / DataEntity / System / Data / Mapping / MappingItemCollection.cs / 2 / MappingItemCollection.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....], [....] //--------------------------------------------------------------------- using System; using System.Data.Metadata.Edm; using System.Xml; using System.Xml.Schema; namespace System.Data.Mapping { ////// Class for representing a collection of mapping items in Edm space. /// public abstract class MappingItemCollection : ItemCollection { ////// The default constructor for ItemCollection /// internal MappingItemCollection(DataSpace dataSpace) : base(dataSpace) { } ////// Search for a Mapping metadata with the specified type key. /// /// identity of the type /// The dataspace that the type for which map needs to be returned belongs to /// ///Returns false if no match found. internal virtual bool TryGetMap(string identity, DataSpace typeSpace, out Map map) { //will only be implemented by Mapping Item Collections throw System.Data.Entity.Error.NotSupported(); } ////// Search for a Mapping metadata with the specified type key. /// /// internal virtual Map GetMap(GlobalItem item) { //will only be implemented by Mapping Item Collections throw System.Data.Entity.Error.NotSupported(); } ////// Search for a Mapping metadata with the specified type key. /// /// /// ///Returns false if no match found. internal virtual bool TryGetMap(GlobalItem item, out Map map) { //will only be implemented by Mapping Item Collections throw System.Data.Entity.Error.NotSupported(); } ////// Search for a Mapping metadata with the specified type key. /// /// identity of the type /// The dataspace that the type for which map needs to be returned belongs to /// true for case-insensitive lookup ///Thrown if mapping space is not valid internal virtual Map GetMap(string identity, DataSpace typeSpace, bool ignoreCase) { //will only be implemented by Mapping Item Collections throw System.Data.Entity.Error.NotSupported(); } ////// Search for a Mapping metadata with the specified type key. /// /// identity of the type /// The dataspace that the type for which map needs to be returned belongs to /// true for case-insensitive lookup /// ///Returns false if no match found. internal virtual bool TryGetMap(string identity, DataSpace typeSpace, bool ignoreCase, out Map map) { //will only be implemented by Mapping Item Collections throw System.Data.Entity.Error.NotSupported(); } ////// Search for a Mapping metadata with the specified type key. /// /// identity of the type /// The dataspace that the type for which map needs to be returned belongs to ///Thrown if mapping space is not valid internal virtual Map GetMap(string identity, DataSpace typeSpace) { //will only be implemented by Mapping Item Collections throw System.Data.Entity.Error.NotSupported(); } }//---- ItemCollection }//---- // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....], [....] //--------------------------------------------------------------------- using System; using System.Data.Metadata.Edm; using System.Xml; using System.Xml.Schema; namespace System.Data.Mapping { ////// Class for representing a collection of mapping items in Edm space. /// public abstract class MappingItemCollection : ItemCollection { ////// The default constructor for ItemCollection /// internal MappingItemCollection(DataSpace dataSpace) : base(dataSpace) { } ////// Search for a Mapping metadata with the specified type key. /// /// identity of the type /// The dataspace that the type for which map needs to be returned belongs to /// ///Returns false if no match found. internal virtual bool TryGetMap(string identity, DataSpace typeSpace, out Map map) { //will only be implemented by Mapping Item Collections throw System.Data.Entity.Error.NotSupported(); } ////// Search for a Mapping metadata with the specified type key. /// /// internal virtual Map GetMap(GlobalItem item) { //will only be implemented by Mapping Item Collections throw System.Data.Entity.Error.NotSupported(); } ////// Search for a Mapping metadata with the specified type key. /// /// /// ///Returns false if no match found. internal virtual bool TryGetMap(GlobalItem item, out Map map) { //will only be implemented by Mapping Item Collections throw System.Data.Entity.Error.NotSupported(); } ////// Search for a Mapping metadata with the specified type key. /// /// identity of the type /// The dataspace that the type for which map needs to be returned belongs to /// true for case-insensitive lookup ///Thrown if mapping space is not valid internal virtual Map GetMap(string identity, DataSpace typeSpace, bool ignoreCase) { //will only be implemented by Mapping Item Collections throw System.Data.Entity.Error.NotSupported(); } ////// Search for a Mapping metadata with the specified type key. /// /// identity of the type /// The dataspace that the type for which map needs to be returned belongs to /// true for case-insensitive lookup /// ///Returns false if no match found. internal virtual bool TryGetMap(string identity, DataSpace typeSpace, bool ignoreCase, out Map map) { //will only be implemented by Mapping Item Collections throw System.Data.Entity.Error.NotSupported(); } ////// Search for a Mapping metadata with the specified type key. /// /// identity of the type /// The dataspace that the type for which map needs to be returned belongs to ///Thrown if mapping space is not valid internal virtual Map GetMap(string identity, DataSpace typeSpace) { //will only be implemented by Mapping Item Collections throw System.Data.Entity.Error.NotSupported(); } }//---- ItemCollection }//---- // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- NetworkInformationException.cs
- ToolStripPanel.cs
- ContentElementAutomationPeer.cs
- WebPartVerbsEventArgs.cs
- ClientFormsIdentity.cs
- MaskInputRejectedEventArgs.cs
- SizeAnimation.cs
- CatalogPart.cs
- ApplicationSecurityInfo.cs
- BooleanAnimationBase.cs
- SecurityUniqueId.cs
- SortExpressionBuilder.cs
- DataGridCell.cs
- InitiatorSessionSymmetricMessageSecurityProtocol.cs
- DebugView.cs
- OutputCacheProviderCollection.cs
- SQLInt16Storage.cs
- Attributes.cs
- LeafCellTreeNode.cs
- ToolTipAutomationPeer.cs
- BinaryFormatterWriter.cs
- RegularExpressionValidator.cs
- LinqDataSourceView.cs
- CfgParser.cs
- ipaddressinformationcollection.cs
- ObsoleteAttribute.cs
- TextFormatterImp.cs
- ExpressionWriter.cs
- TextWriterTraceListener.cs
- X509InitiatorCertificateServiceElement.cs
- EntityDataSourceColumn.cs
- RegexCompilationInfo.cs
- ConfigurationPermission.cs
- DataGridSortCommandEventArgs.cs
- RuntimeArgumentHandle.cs
- InputMethodStateTypeInfo.cs
- RetrieveVirtualItemEventArgs.cs
- FilterEventArgs.cs
- MSG.cs
- ListItemCollection.cs
- TraceInternal.cs
- InstanceCompleteException.cs
- Vector3DAnimation.cs
- DropSource.cs
- PropertyTabChangedEvent.cs
- Stroke2.cs
- AutomationPropertyInfo.cs
- MasterPage.cs
- DefaultObjectMappingItemCollection.cs
- ContentPresenter.cs
- SafeCryptoHandles.cs
- SqlServer2KCompatibilityAnnotation.cs
- CheckBoxRenderer.cs
- Soap.cs
- JavaScriptString.cs
- SoundPlayer.cs
- OrderPreservingSpoolingTask.cs
- NameValueSectionHandler.cs
- SqlUserDefinedTypeAttribute.cs
- _BufferOffsetSize.cs
- ElementNotAvailableException.cs
- TreeViewCancelEvent.cs
- ParameterBinding.cs
- TextEffectResolver.cs
- TemplateXamlParser.cs
- ErrorEventArgs.cs
- CaseInsensitiveHashCodeProvider.cs
- XmlStreamStore.cs
- WaitForChangedResult.cs
- DrawToolTipEventArgs.cs
- CategoryGridEntry.cs
- _DigestClient.cs
- TypeElementCollection.cs
- NotImplementedException.cs
- TextParagraphView.cs
- AspCompat.cs
- TextElementEnumerator.cs
- DynamicEndpoint.cs
- WebPartEditorOkVerb.cs
- ScopelessEnumAttribute.cs
- WhitespaceSignificantCollectionAttribute.cs
- documentsequencetextview.cs
- X509CertificateClaimSet.cs
- EDesignUtil.cs
- CompilerCollection.cs
- WeakHashtable.cs
- DataGridRow.cs
- SingleResultAttribute.cs
- WebBrowserUriTypeConverter.cs
- Validator.cs
- BoundField.cs
- Facet.cs
- AssociationProvider.cs
- ToolStripControlHost.cs
- CngKeyCreationParameters.cs
- PaginationProgressEventArgs.cs
- FocusChangedEventArgs.cs
- PenContexts.cs
- SpStreamWrapper.cs
- RequestQueryParser.cs