Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- RC2.cs
- TextSimpleMarkerProperties.cs
- SystemTcpConnection.cs
- XPathScanner.cs
- InputMethodStateTypeInfo.cs
- SingleAnimationUsingKeyFrames.cs
- GeneratedContractType.cs
- RewritingPass.cs
- _LocalDataStoreMgr.cs
- GlyphRun.cs
- DesignerSerializationManager.cs
- ToolStripDropDownMenu.cs
- EntitySet.cs
- TextPenaltyModule.cs
- DefinitionBase.cs
- MarkerProperties.cs
- ObsoleteAttribute.cs
- SizeValueSerializer.cs
- SecurityState.cs
- InternalDuplexBindingElement.cs
- ResumeStoryboard.cs
- Renderer.cs
- DbCommandTree.cs
- SecurityPermission.cs
- WebResourceAttribute.cs
- XmlSchemaException.cs
- ThrowOnMultipleAssignment.cs
- TextParaClient.cs
- LocalValueEnumerator.cs
- TimerElapsedEvenArgs.cs
- ResourceReader.cs
- Memoizer.cs
- AnnotationObservableCollection.cs
- Dynamic.cs
- CodeDirectiveCollection.cs
- InternalUserCancelledException.cs
- TreeNodeStyle.cs
- SapiRecoContext.cs
- UserControlBuildProvider.cs
- CookieHandler.cs
- XPathDocumentIterator.cs
- InvalidPrinterException.cs
- BaseCollection.cs
- IncomingWebRequestContext.cs
- SolidBrush.cs
- AnimationLayer.cs
- WorkflowApplicationIdleEventArgs.cs
- ToolCreatedEventArgs.cs
- PopupControlService.cs
- HttpDictionary.cs
- EmptyElement.cs
- RoutingChannelExtension.cs
- OleServicesContext.cs
- FullTextBreakpoint.cs
- XmlDocumentFragment.cs
- EdgeProfileValidation.cs
- NavigationExpr.cs
- ConnectionPointGlyph.cs
- MemoryPressure.cs
- TextElementCollectionHelper.cs
- EdgeModeValidation.cs
- ScrollEvent.cs
- WebPartTransformerAttribute.cs
- Imaging.cs
- ConstNode.cs
- GuidelineCollection.cs
- KoreanLunisolarCalendar.cs
- IndentedWriter.cs
- CodeDomConfigurationHandler.cs
- CrossSiteScriptingValidation.cs
- PopupRoot.cs
- ExportException.cs
- _NetworkingPerfCounters.cs
- FillBehavior.cs
- ActivityCompletionCallbackWrapper.cs
- RelatedCurrencyManager.cs
- LoggedException.cs
- MimeTypeAttribute.cs
- TextRunCache.cs
- SqlFormatter.cs
- ZipFileInfo.cs
- EncryptedData.cs
- DataGridRowEventArgs.cs
- VSDExceptions.cs
- TileModeValidation.cs
- FrameworkElementAutomationPeer.cs
- _TimerThread.cs
- UrlMappingCollection.cs
- ConfigurationElementCollection.cs
- Rotation3DAnimationUsingKeyFrames.cs
- CategoryAttribute.cs
- CodeDirectiveCollection.cs
- SafeRegistryKey.cs
- UrlAuthFailedErrorFormatter.cs
- StylusEditingBehavior.cs
- ReadOnlyCollectionBuilder.cs
- AudioFormatConverter.cs
- LongValidator.cs
- LocalFileSettingsProvider.cs
- TextElementCollection.cs