Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ParentUndoUnit.cs
- WebBrowserBase.cs
- SBCSCodePageEncoding.cs
- AssertUtility.cs
- UnhandledExceptionEventArgs.cs
- InstanceData.cs
- ProfilePropertySettings.cs
- RuleSettings.cs
- SplineKeyFrames.cs
- Rect3DConverter.cs
- HMACSHA384.cs
- TextSpan.cs
- StringDictionary.cs
- PageAdapter.cs
- RawStylusInputCustomDataList.cs
- ControlCachePolicy.cs
- Pointer.cs
- TemplateControlBuildProvider.cs
- ComponentManagerBroker.cs
- ControlPaint.cs
- DataControlCommands.cs
- AddressingProperty.cs
- TypeLibConverter.cs
- PictureBoxDesigner.cs
- DataServiceBuildProvider.cs
- ProxyFragment.cs
- OdbcConnection.cs
- IChannel.cs
- ADConnectionHelper.cs
- Utility.cs
- ViewGenResults.cs
- XmlnsCompatibleWithAttribute.cs
- InputScope.cs
- ElementMarkupObject.cs
- FrameworkElement.cs
- ZipIORawDataFileBlock.cs
- ParameterElementCollection.cs
- InheritanceContextChangedEventManager.cs
- SqlCommand.cs
- MessageEncodingBindingElementImporter.cs
- ReadOnlyDataSource.cs
- SafeWaitHandle.cs
- StyleSheetComponentEditor.cs
- GradientStop.cs
- ComponentDispatcher.cs
- Menu.cs
- util.cs
- X500Name.cs
- SqlEnums.cs
- CLSCompliantAttribute.cs
- ParseElement.cs
- ThreadExceptionEvent.cs
- DateTimeFormatInfoScanner.cs
- XmlSecureResolver.cs
- DesignerVerb.cs
- PartManifestEntry.cs
- InternalDispatchObject.cs
- FunctionGenerator.cs
- DropSource.cs
- TraceContext.cs
- SynchronizationContext.cs
- PreviousTrackingServiceAttribute.cs
- DoubleLinkListEnumerator.cs
- SHA512Managed.cs
- webbrowsersite.cs
- XmlDictionaryReaderQuotas.cs
- BuildProviderAppliesToAttribute.cs
- ExceptionAggregator.cs
- AddInDeploymentState.cs
- LogReservationCollection.cs
- SByteStorage.cs
- XmlBaseReader.cs
- SecurityPolicySection.cs
- DataListGeneralPage.cs
- FormsAuthenticationUserCollection.cs
- EnvelopedPkcs7.cs
- XmlConvert.cs
- RecordsAffectedEventArgs.cs
- ClientSettingsProvider.cs
- FrameworkPropertyMetadata.cs
- connectionpool.cs
- HitTestDrawingContextWalker.cs
- RawStylusInputReport.cs
- BitmapCodecInfoInternal.cs
- XmlUrlResolver.cs
- BitmapEffectGroup.cs
- SafeLibraryHandle.cs
- ManagementEventWatcher.cs
- TraceData.cs
- SqlXmlStorage.cs
- Interlocked.cs
- MemoryMappedFileSecurity.cs
- PermissionToken.cs
- CodeGeneratorOptions.cs
- SafeEventLogWriteHandle.cs
- Exceptions.cs
- ArraySortHelper.cs
- DataGridViewCellLinkedList.cs
- UserControl.cs
- XmlSchemaObjectCollection.cs