Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / ndp / fx / src / DataEntity / System / Data / Mapping / MappingItemCollection.cs / 1 / 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
- EncodingInfo.cs
- CompositeCollection.cs
- Point.cs
- MimeTextImporter.cs
- CodeDefaultValueExpression.cs
- ThemeableAttribute.cs
- BuildProvider.cs
- Animatable.cs
- BezierSegment.cs
- ApplicationSecurityInfo.cs
- SchemaImporterExtensionElement.cs
- CustomBinding.cs
- MenuItem.cs
- CodeSubDirectoriesCollection.cs
- CompilerCollection.cs
- NullableConverter.cs
- SectionXmlInfo.cs
- MetroSerializationManager.cs
- WbemException.cs
- ContextProperty.cs
- XmlSchemaAttributeGroup.cs
- SystemKeyConverter.cs
- TextEditorSelection.cs
- ReachSerializableProperties.cs
- CommandHelpers.cs
- DetailsViewDeletedEventArgs.cs
- OwnerDrawPropertyBag.cs
- ArraySubsetEnumerator.cs
- KeyboardDevice.cs
- filewebrequest.cs
- RootProjectionNode.cs
- UnsupportedPolicyOptionsException.cs
- Timeline.cs
- ACE.cs
- DataGrid.cs
- PublisherMembershipCondition.cs
- XmlLangPropertyAttribute.cs
- SqlUtils.cs
- ToolBar.cs
- MimeFormatExtensions.cs
- IProvider.cs
- ConfigurationSchemaErrors.cs
- TemplateFactory.cs
- FacetChecker.cs
- rsa.cs
- TextPointerBase.cs
- DataKey.cs
- TagMapCollection.cs
- SelectorAutomationPeer.cs
- odbcmetadatafactory.cs
- SqlUDTStorage.cs
- Html32TextWriter.cs
- MorphHelpers.cs
- RectangleConverter.cs
- WindowsRegion.cs
- AsmxEndpointPickerExtension.cs
- LifetimeServices.cs
- TraceSource.cs
- ObjectQuery.cs
- ProcessInfo.cs
- PictureBox.cs
- FragmentQuery.cs
- UriTemplateMatch.cs
- QilPatternVisitor.cs
- SafeNativeMethods.cs
- SchemaElementLookUpTable.cs
- StyleConverter.cs
- WebEventCodes.cs
- XPathAxisIterator.cs
- DPTypeDescriptorContext.cs
- HttpWebRequest.cs
- XmlSchemaIdentityConstraint.cs
- CustomTypeDescriptor.cs
- PackageDigitalSignatureManager.cs
- ControlPager.cs
- CorrelationService.cs
- NavigationHelper.cs
- cache.cs
- XmlSortKeyAccumulator.cs
- WmlValidationSummaryAdapter.cs
- ProtocolElementCollection.cs
- AppSettingsReader.cs
- SerTrace.cs
- TypeSystem.cs
- StickyNoteContentControl.cs
- SchemaDeclBase.cs
- XmlSiteMapProvider.cs
- AutoGeneratedField.cs
- Imaging.cs
- ApplicationManager.cs
- ReachFixedPageSerializer.cs
- Int32.cs
- Timer.cs
- MarkupProperty.cs
- RuntimeHelpers.cs
- HttpHandler.cs
- HandledEventArgs.cs
- RadioButton.cs
- DoubleAnimationClockResource.cs
- DescendentsWalker.cs