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
- Component.cs
- ListViewSortEventArgs.cs
- LicenseException.cs
- SpotLight.cs
- TreeWalkHelper.cs
- HtmlInputPassword.cs
- XPathAncestorIterator.cs
- Rotation3DKeyFrameCollection.cs
- SizeConverter.cs
- ElementNotEnabledException.cs
- CustomValidator.cs
- ToolStripContentPanel.cs
- Int16Storage.cs
- ReferencedCategoriesDocument.cs
- DoubleConverter.cs
- ObjectItemCollection.cs
- TreeViewImageIndexConverter.cs
- DetailsViewRow.cs
- ShaderEffect.cs
- XDRSchema.cs
- SqlError.cs
- SplashScreen.cs
- XamlPoint3DCollectionSerializer.cs
- ExpressionPrefixAttribute.cs
- TypeHelper.cs
- TextFormatterImp.cs
- WebPartConnectionsCloseVerb.cs
- ListControlConvertEventArgs.cs
- DataControlFieldCell.cs
- DataConnectionHelper.cs
- WriteTimeStream.cs
- ScriptControl.cs
- TemplateControlBuildProvider.cs
- ServerValidateEventArgs.cs
- ComponentRenameEvent.cs
- Exceptions.cs
- DataSourceControlBuilder.cs
- AttachedProperty.cs
- HttpHeaderCollection.cs
- Span.cs
- TemplateBindingExtensionConverter.cs
- AppliesToBehaviorDecisionTable.cs
- ManagedWndProcTracker.cs
- BinHexDecoder.cs
- HtmlEmptyTagControlBuilder.cs
- ExecutionEngineException.cs
- StringInfo.cs
- ILGenerator.cs
- COM2PropertyDescriptor.cs
- SetUserPreferenceRequest.cs
- ProfileService.cs
- DefaultObjectMappingItemCollection.cs
- Roles.cs
- AddInEnvironment.cs
- ArcSegment.cs
- DbCommandTree.cs
- SynchronizationContext.cs
- ThreadSafeList.cs
- UnknownWrapper.cs
- LayoutManager.cs
- ParameterElement.cs
- AnimatedTypeHelpers.cs
- TemplateKeyConverter.cs
- ColumnResizeUndoUnit.cs
- SecureEnvironment.cs
- MatrixCamera.cs
- SerialStream.cs
- Point3DAnimation.cs
- ValidatorAttribute.cs
- Point3DValueSerializer.cs
- RuleSetReference.cs
- DiagnosticEventProvider.cs
- Separator.cs
- TimeSpanSecondsConverter.cs
- DecimalStorage.cs
- SmiConnection.cs
- SqlPersonalizationProvider.cs
- SHA512Managed.cs
- TdsParserStateObject.cs
- NamespaceDecl.cs
- FromRequest.cs
- ProviderMetadata.cs
- View.cs
- OutputCacheProfile.cs
- RpcCryptoRequest.cs
- SqlUnionizer.cs
- StrongNamePublicKeyBlob.cs
- IndexerNameAttribute.cs
- Parser.cs
- LocalizationParserHooks.cs
- ToolStripSeparatorRenderEventArgs.cs
- ADMembershipUser.cs
- ResponseStream.cs
- WebRequestModuleElement.cs
- SqlTypesSchemaImporter.cs
- ReliableSessionBindingElement.cs
- XmlNamespaceDeclarationsAttribute.cs
- MetadataArtifactLoaderCompositeFile.cs
- UpdateTranslator.cs
- XMLDiffLoader.cs