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
- PartialTrustHelpers.cs
- ZipFileInfoCollection.cs
- BezierSegment.cs
- WorkflowFormatterBehavior.cs
- CodeGroup.cs
- CancellationHandlerDesigner.cs
- XmlNode.cs
- LogLogRecordHeader.cs
- Rotation3DAnimation.cs
- StrongNameKeyPair.cs
- LocalizationComments.cs
- Cursor.cs
- SHA384Managed.cs
- DomNameTable.cs
- BindingExpression.cs
- StructuredType.cs
- ConfigXmlText.cs
- SecurityDescriptor.cs
- NonVisualControlAttribute.cs
- FaultReason.cs
- CultureInfoConverter.cs
- CompilationLock.cs
- Bookmark.cs
- AccessedThroughPropertyAttribute.cs
- Vector3DConverter.cs
- PostBackOptions.cs
- SamlAttribute.cs
- InputDevice.cs
- ObjectViewListener.cs
- MasterPageBuildProvider.cs
- TextMetrics.cs
- SiteMapNodeItemEventArgs.cs
- ClientScriptItemCollection.cs
- DefaultSerializationProviderAttribute.cs
- OleDbCommand.cs
- XmlSchemaImport.cs
- ProfilePropertyMetadata.cs
- Identity.cs
- MenuCommand.cs
- SqlNodeAnnotations.cs
- FolderLevelBuildProvider.cs
- SafeCryptHandles.cs
- EncoderFallback.cs
- ColumnTypeConverter.cs
- XmlDataLoader.cs
- InternalMappingException.cs
- TransformCollection.cs
- Baml2006ReaderFrame.cs
- NumberFormatInfo.cs
- SelectingProviderEventArgs.cs
- SourceFilter.cs
- AppDomainProtocolHandler.cs
- BinaryWriter.cs
- ExpressionLexer.cs
- RenderContext.cs
- DataGridViewColumnCollection.cs
- XmlSerializerNamespaces.cs
- HotSpotCollectionEditor.cs
- ExceptionValidationRule.cs
- StandardToolWindows.cs
- FileRegion.cs
- StackSpiller.cs
- OracleRowUpdatingEventArgs.cs
- CompoundFileStorageReference.cs
- InfoCardRSACryptoProvider.cs
- XmlDeclaration.cs
- ArgumentNullException.cs
- RuntimeConfig.cs
- CapabilitiesState.cs
- SqlParameterizer.cs
- EmissiveMaterial.cs
- CqlQuery.cs
- PointCollection.cs
- PngBitmapDecoder.cs
- ScalarConstant.cs
- TableItemProviderWrapper.cs
- WebPartDescriptionCollection.cs
- WebPartPersonalization.cs
- Rotation3DAnimation.cs
- SQLDateTimeStorage.cs
- SQLBytesStorage.cs
- MulticastDelegate.cs
- RadialGradientBrush.cs
- AutoGeneratedFieldProperties.cs
- InstancePersistenceCommand.cs
- HtmlProps.cs
- ErrorReporting.cs
- RowUpdatingEventArgs.cs
- KerberosTicketHashIdentifierClause.cs
- TransformerInfo.cs
- FontInfo.cs
- WebUtil.cs
- TextEffect.cs
- HGlobalSafeHandle.cs
- SchemaConstraints.cs
- BaseServiceProvider.cs
- PropertyOverridesTypeEditor.cs
- DeviceSpecificChoice.cs
- LineSegment.cs
- XmlReflectionMember.cs