Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Mapping / MappingItemCollection.cs / 1305376 / MappingItemCollection.cs
//---------------------------------------------------------------------- //// Copyright (c) Microsoft Corporation. All rights reserved. // // // @owner [....] // @backupOwner [....] //--------------------------------------------------------------------- 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. /// [CLSCompliant(false)] 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 [....] // @backupOwner [....] //--------------------------------------------------------------------- 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. /// [CLSCompliant(false)] 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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RegexMatchCollection.cs
- DropShadowEffect.cs
- WebPartTransformerCollection.cs
- TrustManagerPromptUI.cs
- ScalarConstant.cs
- Identity.cs
- FileUtil.cs
- cookiecollection.cs
- _ConnectionGroup.cs
- AuthorizationRuleCollection.cs
- ConfigurationElementProperty.cs
- DataGridTableCollection.cs
- BufferModeSettings.cs
- Semaphore.cs
- TextBox.cs
- ContainerUtilities.cs
- BooleanAnimationBase.cs
- BamlRecordWriter.cs
- XmlSiteMapProvider.cs
- UnsafeNativeMethods.cs
- HeaderUtility.cs
- GridViewRow.cs
- ButtonPopupAdapter.cs
- RelationshipConverter.cs
- ListViewDataItem.cs
- Transform3DGroup.cs
- GeneralTransform3DCollection.cs
- TypeValidationEventArgs.cs
- CmsInterop.cs
- ColorInterpolationModeValidation.cs
- PriorityQueue.cs
- ClientEventManager.cs
- ToolboxItemSnapLineBehavior.cs
- BinaryObjectWriter.cs
- NamespaceMapping.cs
- ListControl.cs
- PackageDigitalSignature.cs
- SQLChars.cs
- diagnosticsswitches.cs
- BitmapEffectrendercontext.cs
- DataTableCollection.cs
- SvcMapFile.cs
- ToolStripItemTextRenderEventArgs.cs
- ShapingEngine.cs
- ProtocolsConfigurationEntry.cs
- Exceptions.cs
- MulticastIPAddressInformationCollection.cs
- DesignerImageAdapter.cs
- RtfToken.cs
- AuthorizationRuleCollection.cs
- ArgumentException.cs
- SchemaType.cs
- DBPropSet.cs
- Attachment.cs
- ObservableDictionary.cs
- SoapEnumAttribute.cs
- Journal.cs
- BridgeDataRecord.cs
- QuotedPrintableStream.cs
- OleCmdHelper.cs
- initElementDictionary.cs
- ApplicationInterop.cs
- AsyncCodeActivityContext.cs
- MenuRendererStandards.cs
- MimeMultiPart.cs
- PathHelper.cs
- SpellerInterop.cs
- DataRelationPropertyDescriptor.cs
- PathFigure.cs
- KnownBoxes.cs
- HitTestWithGeometryDrawingContextWalker.cs
- StylusButtonCollection.cs
- Wildcard.cs
- HtmlInputSubmit.cs
- OrthographicCamera.cs
- FilteredSchemaElementLookUpTable.cs
- MdImport.cs
- XamlSerializerUtil.cs
- QueryCacheKey.cs
- COAUTHINFO.cs
- DictionaryChange.cs
- AutomationPropertyInfo.cs
- ConstructorBuilder.cs
- Control.cs
- AssemblyInfo.cs
- MarkupWriter.cs
- BCLDebug.cs
- SettingsBindableAttribute.cs
- GPPOINT.cs
- AsyncResult.cs
- PathData.cs
- UserUseLicenseDictionaryLoader.cs
- ResourceDictionaryCollection.cs
- SHA1Managed.cs
- WebConfigManager.cs
- BrowsableAttribute.cs
- XmlTextEncoder.cs
- DataTableExtensions.cs
- ObfuscationAttribute.cs
- AliasGenerator.cs