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
- graph.cs
- ExecutorLocksHeldException.cs
- TransactionWaitAsyncResult.cs
- TransactionTraceIdentifier.cs
- Base64Decoder.cs
- sapiproxy.cs
- ReferenceEqualityComparer.cs
- AccessedThroughPropertyAttribute.cs
- DiffuseMaterial.cs
- CommonDialog.cs
- HtmlImage.cs
- ModelUtilities.cs
- SpeechRecognitionEngine.cs
- Queue.cs
- SafeEventLogReadHandle.cs
- VirtualPathProvider.cs
- BasicViewGenerator.cs
- PointHitTestResult.cs
- ScriptReference.cs
- ObjectViewListener.cs
- ImageMap.cs
- DataTableReaderListener.cs
- MappingSource.cs
- ElementAction.cs
- TabPage.cs
- BooleanConverter.cs
- ProvidePropertyAttribute.cs
- ChildrenQuery.cs
- WindowsGraphics2.cs
- MobileListItemCollection.cs
- BlockingCollection.cs
- FastPropertyAccessor.cs
- ToolStripDropDownClosingEventArgs.cs
- DataServiceConfiguration.cs
- MarkupObject.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- ModelService.cs
- SoapExtension.cs
- StubHelpers.cs
- ElapsedEventArgs.cs
- DataControlButton.cs
- FrameworkTextComposition.cs
- BitmapEffectGeneralTransform.cs
- ToolStripDesigner.cs
- CodeNamespaceImport.cs
- TextServicesDisplayAttributePropertyRanges.cs
- TraceSwitch.cs
- MethodAccessException.cs
- VectorAnimationBase.cs
- Table.cs
- CodeTypeConstructor.cs
- LockCookie.cs
- ResourceDisplayNameAttribute.cs
- XmlAutoDetectWriter.cs
- SqlErrorCollection.cs
- TrackingProfileDeserializationException.cs
- RegexGroup.cs
- WebBrowserNavigatingEventHandler.cs
- TraceProvider.cs
- ForEachAction.cs
- LineBreak.cs
- UnsafePeerToPeerMethods.cs
- XmlTypeMapping.cs
- DatePicker.cs
- TrackBar.cs
- DecimalFormatter.cs
- Screen.cs
- DetailsViewInsertEventArgs.cs
- InfoCardSymmetricAlgorithm.cs
- FamilyMap.cs
- SystemUnicastIPAddressInformation.cs
- HiddenField.cs
- DisplayMemberTemplateSelector.cs
- MsmqTransportSecurity.cs
- AppLevelCompilationSectionCache.cs
- MailMessageEventArgs.cs
- NodeFunctions.cs
- StorageEntityContainerMapping.cs
- MediaTimeline.cs
- ChooseAction.cs
- CatalogPartChrome.cs
- WindowsFont.cs
- SAPICategories.cs
- XmlSchemaSequence.cs
- DiagnosticTraceSource.cs
- VisualBrush.cs
- AuthorizationSection.cs
- DataGridViewDataErrorEventArgs.cs
- VideoDrawing.cs
- CompensationDesigner.cs
- IdSpace.cs
- HttpProfileGroupBase.cs
- ChildTable.cs
- SQLUtility.cs
- ReadOnlyHierarchicalDataSource.cs
- QueryReaderSettings.cs
- MethodBody.cs
- Int32Rect.cs
- filewebrequest.cs
- PersonalizableAttribute.cs