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
- BehaviorEditorPart.cs
- BaseValidator.cs
- _OverlappedAsyncResult.cs
- CustomCategoryAttribute.cs
- TimeZoneInfo.cs
- ConnectionConsumerAttribute.cs
- WindowsServiceCredential.cs
- DefaultProxySection.cs
- PolyQuadraticBezierSegment.cs
- DataGridViewHitTestInfo.cs
- IdnElement.cs
- CompilerParameters.cs
- ContentPlaceHolderDesigner.cs
- XmlWellformedWriter.cs
- SerializationSectionGroup.cs
- VScrollBar.cs
- EmptyEnumerator.cs
- WindowProviderWrapper.cs
- TextServicesLoader.cs
- PropertyChangingEventArgs.cs
- GlobalizationSection.cs
- HtmlElement.cs
- GridToolTip.cs
- DriveNotFoundException.cs
- FunctionMappingTranslator.cs
- ApplicationHost.cs
- SystemFonts.cs
- XpsPartBase.cs
- DictionaryMarkupSerializer.cs
- TemplateEditingFrame.cs
- TextRangeBase.cs
- AstTree.cs
- FixedSOMPage.cs
- ConfigurationUtility.cs
- XmlSchemaAnnotation.cs
- ManagedWndProcTracker.cs
- SqlMethodAttribute.cs
- Version.cs
- LOSFormatter.cs
- ReachPageContentSerializer.cs
- SendAgentStatusRequest.cs
- NavigationProperty.cs
- MissingManifestResourceException.cs
- ComNativeDescriptor.cs
- ReceiveMessageRecord.cs
- ScriptResourceAttribute.cs
- IncrementalReadDecoders.cs
- DataMemberConverter.cs
- XmlAnyElementAttributes.cs
- CharConverter.cs
- XmlCharType.cs
- Image.cs
- ListBox.cs
- WebHttpSecurityElement.cs
- ClientScriptManager.cs
- Evaluator.cs
- DefaultObjectMappingItemCollection.cs
- QueryGenerator.cs
- DefaultSerializationProviderAttribute.cs
- Update.cs
- SynchronizationFilter.cs
- BrushValueSerializer.cs
- ComEventsHelper.cs
- DoubleLinkList.cs
- OdbcTransaction.cs
- RowSpanVector.cs
- UrlPath.cs
- CipherData.cs
- InvokeMethodActivity.cs
- DesignerActionService.cs
- ColorAnimation.cs
- TextTabProperties.cs
- ColumnClickEvent.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- ThreadAttributes.cs
- ZipFileInfo.cs
- ProtocolState.cs
- ByteStack.cs
- FileDialog.cs
- CodeMemberEvent.cs
- CloseSequence.cs
- DataShape.cs
- AnnotationObservableCollection.cs
- TypeTypeConverter.cs
- InheritanceContextChangedEventManager.cs
- ProcessHostFactoryHelper.cs
- DisplayToken.cs
- WmlTextBoxAdapter.cs
- MD5.cs
- DbProviderConfigurationHandler.cs
- UrlPath.cs
- BitmapSizeOptions.cs
- SimpleHandlerBuildProvider.cs
- DocumentAutomationPeer.cs
- MimeMapping.cs
- GradientBrush.cs
- Publisher.cs
- ClientSponsor.cs
- UserControlParser.cs
- ToolStripButton.cs