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
- clipboard.cs
- DataBindingExpressionBuilder.cs
- DefinitionUpdate.cs
- ZipIOCentralDirectoryBlock.cs
- OleStrCAMarshaler.cs
- PageAsyncTaskManager.cs
- TableRow.cs
- BlobPersonalizationState.cs
- RoleManagerSection.cs
- ProvidersHelper.cs
- NumericUpDown.cs
- WindowsTab.cs
- TextTreeRootTextBlock.cs
- DNS.cs
- PeerNeighborManager.cs
- ScriptModule.cs
- Grid.cs
- MemberInfoSerializationHolder.cs
- MouseGestureConverter.cs
- TagPrefixInfo.cs
- SqlTriggerAttribute.cs
- TextTreeExtractElementUndoUnit.cs
- KeyboardInputProviderAcquireFocusEventArgs.cs
- SecurityTokenException.cs
- DefaultSection.cs
- StaticSiteMapProvider.cs
- TraceData.cs
- BinHexDecoder.cs
- LocatorGroup.cs
- BufferedReceiveManager.cs
- TagPrefixInfo.cs
- StreamWriter.cs
- MessageRpc.cs
- SafeCryptContextHandle.cs
- TextServicesCompartment.cs
- OpCopier.cs
- RangeBase.cs
- ColumnResult.cs
- selecteditemcollection.cs
- DesignerTextViewAdapter.cs
- Button.cs
- XmlWhitespace.cs
- QueryContext.cs
- CssTextWriter.cs
- HttpWriter.cs
- HebrewNumber.cs
- RequestQueryProcessor.cs
- PenThreadPool.cs
- QilChoice.cs
- _SpnDictionary.cs
- OpenTypeLayoutCache.cs
- MsmqTransportBindingElement.cs
- MetadataItem_Static.cs
- WebPageTraceListener.cs
- CachedCompositeFamily.cs
- TextEncodedRawTextWriter.cs
- TargetException.cs
- FeatureManager.cs
- SiteIdentityPermission.cs
- ListDataHelper.cs
- SettingsAttributes.cs
- DeadLetterQueue.cs
- TypedOperationInfo.cs
- ColumnBinding.cs
- DrawingGroup.cs
- ParameterModifier.cs
- RoutedCommand.cs
- EventHandlerService.cs
- PropertyToken.cs
- ContentValidator.cs
- CodeExpressionCollection.cs
- TriggerCollection.cs
- itemelement.cs
- BuiltInPermissionSets.cs
- DetailsViewRow.cs
- entitydatasourceentitysetnameconverter.cs
- RetrieveVirtualItemEventArgs.cs
- TextFormatter.cs
- XPathMultyIterator.cs
- precedingsibling.cs
- ListItem.cs
- SelectionItemProviderWrapper.cs
- DetailsViewUpdatedEventArgs.cs
- PreservationFileWriter.cs
- XsdValidatingReader.cs
- SoapSchemaImporter.cs
- ButtonChrome.cs
- WebPartEditorCancelVerb.cs
- IProducerConsumerCollection.cs
- WizardStepBase.cs
- FixedSOMLineCollection.cs
- DataListItemCollection.cs
- HttpWebRequest.cs
- FontStyles.cs
- ReferencedAssembly.cs
- MessageDecoder.cs
- MergeLocalizationDirectives.cs
- BindingExpressionBase.cs
- CssStyleCollection.cs
- CompositeActivityTypeDescriptorProvider.cs