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
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- MaskDesignerDialog.cs
- AnnotationResource.cs
- RegistryHandle.cs
- StrongNameUtility.cs
- Panel.cs
- PreProcessInputEventArgs.cs
- WindowsEditBox.cs
- ProtocolsConfigurationHandler.cs
- XomlCompilerHelpers.cs
- List.cs
- EventLogEntry.cs
- HandlerBase.cs
- CodeIdentifiers.cs
- LogArchiveSnapshot.cs
- AppDomainFactory.cs
- JulianCalendar.cs
- PKCS1MaskGenerationMethod.cs
- TitleStyle.cs
- SettingsContext.cs
- SemanticAnalyzer.cs
- PageCatalogPart.cs
- EditorZoneBase.cs
- BuildProviderAppliesToAttribute.cs
- SettingsSavedEventArgs.cs
- ChannelBinding.cs
- AxHost.cs
- AssertSection.cs
- ServerIdentity.cs
- EntityParameterCollection.cs
- TextEncodedRawTextWriter.cs
- DataGridPagerStyle.cs
- __ConsoleStream.cs
- DesignerDeviceConfig.cs
- SystemIPGlobalProperties.cs
- ToolStripSeparatorRenderEventArgs.cs
- webbrowsersite.cs
- NameValueFileSectionHandler.cs
- RegexWorker.cs
- WebPartEditVerb.cs
- TypeNameConverter.cs
- UnmanagedBitmapWrapper.cs
- TraceRecord.cs
- XamlClipboardData.cs
- SelectingProviderEventArgs.cs
- LocalClientSecuritySettingsElement.cs
- Container.cs
- EventArgs.cs
- DataListCommandEventArgs.cs
- IPAddressCollection.cs
- ContextConfiguration.cs
- XmlPropertyBag.cs
- SerializationSectionGroup.cs
- TemplateBaseAction.cs
- Exception.cs
- CompressedStack.cs
- NullableDecimalMinMaxAggregationOperator.cs
- SafeViewOfFileHandle.cs
- HeaderUtility.cs
- GridViewDeletedEventArgs.cs
- FixedHighlight.cs
- UInt16Converter.cs
- ServicesUtilities.cs
- DataGridViewCheckBoxColumn.cs
- ParenthesizePropertyNameAttribute.cs
- GroupLabel.cs
- EntityCollection.cs
- RunClient.cs
- StructuredType.cs
- WorkflowInstanceProvider.cs
- DependencyPropertyConverter.cs
- SR.cs
- CustomWebEventKey.cs
- FixedSOMGroup.cs
- Visual3D.cs
- AstNode.cs
- LocalFileSettingsProvider.cs
- MimeMapping.cs
- ImmutableAssemblyCacheEntry.cs
- SubMenuStyle.cs
- DesignTableCollection.cs
- FixedSOMFixedBlock.cs
- OleDbCommand.cs
- AncillaryOps.cs
- ConfigXmlSignificantWhitespace.cs
- WaitHandle.cs
- WhileDesigner.cs
- DebugInfoGenerator.cs
- DebugHandleTracker.cs
- UseManagedPresentationElement.cs
- FlowDocumentFormatter.cs
- QilValidationVisitor.cs
- AutoResizedEvent.cs
- CharStorage.cs
- SafeEventLogReadHandle.cs
- EntitySqlQueryCacheKey.cs
- ReadOnlyState.cs
- QueryAccessibilityHelpEvent.cs
- MouseButton.cs
- ProcessDesigner.cs
- VirtualPathProvider.cs