Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- Atom10FeedFormatter.cs
- DbCommandDefinition.cs
- ProcessThreadCollection.cs
- MediaContext.cs
- URLIdentityPermission.cs
- SafeNativeMethodsOther.cs
- ConstraintCollection.cs
- TreeNodeStyle.cs
- WindowsGraphicsWrapper.cs
- NullRuntimeConfig.cs
- ConsumerConnectionPoint.cs
- ChangeTracker.cs
- UIHelper.cs
- OleCmdHelper.cs
- OdbcConnectionOpen.cs
- EncoderReplacementFallback.cs
- ToolStripControlHost.cs
- GiveFeedbackEvent.cs
- ProjectionQueryOptionExpression.cs
- SiteMapDataSource.cs
- PhysicalOps.cs
- DesigntimeLicenseContext.cs
- httpserverutility.cs
- GPStream.cs
- SqlCommandAsyncResult.cs
- ProcessHost.cs
- OrderedEnumerableRowCollection.cs
- Security.cs
- TextServicesHost.cs
- WebPartConnectionsEventArgs.cs
- DataRowComparer.cs
- FontFamily.cs
- ByteConverter.cs
- SqlDependency.cs
- ViewPort3D.cs
- AnonymousIdentificationModule.cs
- WindowsSidIdentity.cs
- SpeechRecognitionEngine.cs
- CheckBoxFlatAdapter.cs
- DocumentXmlWriter.cs
- ResourceSetExpression.cs
- DataObjectEventArgs.cs
- Transform3D.cs
- SingleConverter.cs
- TableProvider.cs
- EventManager.cs
- PageThemeBuildProvider.cs
- LeaseManager.cs
- PropertyTab.cs
- RawStylusInputCustomDataList.cs
- IISMapPath.cs
- OdbcConnectionFactory.cs
- _ScatterGatherBuffers.cs
- GlyphTypeface.cs
- PixelShader.cs
- StretchValidation.cs
- Matrix3D.cs
- StateMachineHelpers.cs
- TransferRequestHandler.cs
- WinEventWrap.cs
- ParameterRefs.cs
- DocumentReference.cs
- DataGridAutoFormatDialog.cs
- PerformanceCounterPermission.cs
- XmlElementList.cs
- DefaultPrintController.cs
- DataObjectMethodAttribute.cs
- selecteditemcollection.cs
- AutoGeneratedFieldProperties.cs
- MissingMemberException.cs
- NavigatorOutput.cs
- XmlElementAttribute.cs
- X509SecurityTokenProvider.cs
- PageRanges.cs
- SmiGettersStream.cs
- DotAtomReader.cs
- OdbcError.cs
- DefaultTraceListener.cs
- DefaultProxySection.cs
- WebPartMenu.cs
- RsaSecurityKey.cs
- XmlQueryOutput.cs
- ToolStripTextBox.cs
- MergeLocalizationDirectives.cs
- AnimatedTypeHelpers.cs
- OverflowException.cs
- WebSysDescriptionAttribute.cs
- HostedAspNetEnvironment.cs
- Stylesheet.cs
- TemplateControl.cs
- SystemWebExtensionsSectionGroup.cs
- NodeFunctions.cs
- Int16AnimationUsingKeyFrames.cs
- ADRole.cs
- CompositeActivityTypeDescriptorProvider.cs
- TrackingParticipant.cs
- PointUtil.cs
- TriState.cs
- KeyValueSerializer.cs
- WrapPanel.cs