Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- wgx_commands.cs
- GraphicsPathIterator.cs
- WindowsAuthenticationModule.cs
- WebPartCatalogAddVerb.cs
- FormClosingEvent.cs
- DbConnectionInternal.cs
- ListInitExpression.cs
- Attributes.cs
- TextEditorTyping.cs
- ProtectedProviderSettings.cs
- XmlSiteMapProvider.cs
- HttpCachePolicyBase.cs
- XmlNodeChangedEventArgs.cs
- UnorderedHashRepartitionStream.cs
- ContentDefinition.cs
- HashAlgorithm.cs
- GenericTypeParameterBuilder.cs
- BamlLocalizabilityResolver.cs
- DocumentApplication.cs
- Camera.cs
- VBCodeProvider.cs
- SafeMemoryMappedFileHandle.cs
- DataAccessor.cs
- SystemDropShadowChrome.cs
- TryExpression.cs
- FixedElement.cs
- ScriptingSectionGroup.cs
- XmlUTF8TextWriter.cs
- SizeAnimationBase.cs
- EntityCommandDefinition.cs
- ProviderSettingsCollection.cs
- RuleSettings.cs
- WebPartAddingEventArgs.cs
- SinglePageViewer.cs
- PointCollectionValueSerializer.cs
- ChannelTraceRecord.cs
- WebUtility.cs
- StyleCollection.cs
- ViewStateException.cs
- WebPartDisplayModeEventArgs.cs
- AssemblyAttributes.cs
- Stylus.cs
- EntityDataSourceContextDisposingEventArgs.cs
- ExtenderControl.cs
- TypefaceMetricsCache.cs
- ChangePasswordDesigner.cs
- IItemProperties.cs
- HttpListenerRequest.cs
- Errors.cs
- EventsTab.cs
- ConstantSlot.cs
- ButtonFieldBase.cs
- RefExpr.cs
- StrongName.cs
- RelationshipSet.cs
- ObjectCloneHelper.cs
- Vector3DAnimation.cs
- DataProtection.cs
- FormsAuthenticationConfiguration.cs
- MembershipValidatePasswordEventArgs.cs
- Timer.cs
- Timer.cs
- OleDbReferenceCollection.cs
- PingOptions.cs
- SecurityDocument.cs
- Token.cs
- ExpressionBuilder.cs
- EventListener.cs
- Int32CollectionConverter.cs
- TypeDependencyAttribute.cs
- FilterQueryOptionExpression.cs
- ListViewTableRow.cs
- XamlSerializerUtil.cs
- ClientEventManager.cs
- DataGridViewRowPrePaintEventArgs.cs
- COM2TypeInfoProcessor.cs
- List.cs
- SecurityHeaderElementInferenceEngine.cs
- FixedElement.cs
- ImageDrawing.cs
- IdentitySection.cs
- ConstraintConverter.cs
- ApplicationFileParser.cs
- FixedSOMGroup.cs
- RowToParametersTransformer.cs
- SchemaNotation.cs
- UriSectionData.cs
- RuntimeIdentifierPropertyAttribute.cs
- GenericXmlSecurityToken.cs
- IsolatedStorage.cs
- FrameworkObject.cs
- StateDesigner.LayoutSelectionGlyph.cs
- xdrvalidator.cs
- CompiledQuery.cs
- CriticalFinalizerObject.cs
- GeneralTransformGroup.cs
- Crypto.cs
- PerformanceCounter.cs
- Pointer.cs
- DNS.cs