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
- PropertyMetadata.cs
- ResourceCategoryAttribute.cs
- ProxySimple.cs
- EntityDataSourceValidationException.cs
- DbConnectionPool.cs
- FormViewCommandEventArgs.cs
- TypeListConverter.cs
- LayoutSettings.cs
- PageParser.cs
- OutputCacheProfile.cs
- SqlBinder.cs
- DataControlFieldCell.cs
- PropertyTab.cs
- XmlSchemaGroup.cs
- DefaultValueMapping.cs
- ListViewSortEventArgs.cs
- PointCollection.cs
- TextFormatterImp.cs
- StatusStrip.cs
- IApplicationTrustManager.cs
- DesignerTransaction.cs
- HttpAsyncResult.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- DataGridColumnHeadersPresenterAutomationPeer.cs
- SystemUdpStatistics.cs
- StrokeDescriptor.cs
- HyperLink.cs
- SID.cs
- BitmapFrameEncode.cs
- PersonalizationStateInfo.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- ListViewSortEventArgs.cs
- RectAnimationClockResource.cs
- SoapExtensionReflector.cs
- XmlWrappingWriter.cs
- ScriptManager.cs
- DesignerCategoryAttribute.cs
- XmlLanguage.cs
- TemplateBindingExtensionConverter.cs
- HttpStreamFormatter.cs
- GraphicsPath.cs
- WebPartDescriptionCollection.cs
- ObjectResult.cs
- TextStore.cs
- HtmlTableCell.cs
- DebuggerService.cs
- Rotation3DAnimationUsingKeyFrames.cs
- oledbmetadatacolumnnames.cs
- ObjectQueryExecutionPlan.cs
- Site.cs
- MenuItem.cs
- ChangeConflicts.cs
- SmtpTransport.cs
- CodeCatchClause.cs
- BStrWrapper.cs
- TcpConnectionPool.cs
- SmtpClient.cs
- XPathDescendantIterator.cs
- ConstructorNeedsTagAttribute.cs
- DBNull.cs
- ResourceLoader.cs
- DeploymentExceptionMapper.cs
- TreeChangeInfo.cs
- Constants.cs
- ComboBoxAutomationPeer.cs
- ContractTypeNameElement.cs
- SafeSecurityHandles.cs
- SrgsElementList.cs
- XmlSyndicationContent.cs
- AddInToken.cs
- processwaithandle.cs
- IntSecurity.cs
- SelectorItemAutomationPeer.cs
- PrintPreviewControl.cs
- TreeNodeConverter.cs
- ControlDesigner.cs
- DataBoundControl.cs
- InputLanguageSource.cs
- XpsS0ValidatingLoader.cs
- DispatcherHookEventArgs.cs
- CalculatedColumn.cs
- IntSecurity.cs
- AsyncResult.cs
- StringUtil.cs
- SoapHeaders.cs
- LoaderAllocator.cs
- MdiWindowListItemConverter.cs
- PartialArray.cs
- CompareValidator.cs
- RequestCacheValidator.cs
- GenericTextProperties.cs
- OleDbParameter.cs
- ModelVisual3D.cs
- DataGridItemCollection.cs
- SrgsGrammar.cs
- ContractListAdapter.cs
- EffectiveValueEntry.cs
- SecurityTokenProvider.cs
- PolicyValidationException.cs
- XmlDataDocument.cs