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
- StringDictionaryEditor.cs
- RegisteredExpandoAttribute.cs
- MaxMessageSizeStream.cs
- DefaultCommandExtensionCallback.cs
- UrlPath.cs
- SingleStorage.cs
- DbMetaDataCollectionNames.cs
- Itemizer.cs
- ParserExtension.cs
- X509UI.cs
- ParallelTimeline.cs
- ImageAutomationPeer.cs
- PartEditor.cs
- CharacterHit.cs
- PieceNameHelper.cs
- GorillaCodec.cs
- PermissionSet.cs
- ConfigurationValue.cs
- RawTextInputReport.cs
- TypefaceMap.cs
- DirectoryRedirect.cs
- BinaryObjectReader.cs
- FrameworkElement.cs
- CheckBoxList.cs
- SqlConnectionPoolProviderInfo.cs
- HwndStylusInputProvider.cs
- ApplicationProxyInternal.cs
- BaseDataBoundControl.cs
- ClientSponsor.cs
- ResizeGrip.cs
- HwndSource.cs
- DesignerOptions.cs
- HashCodeCombiner.cs
- BoolLiteral.cs
- PolyQuadraticBezierSegment.cs
- InstanceDescriptor.cs
- BindingSource.cs
- BatchParser.cs
- HttpWebResponse.cs
- DependencyObject.cs
- manifestimages.cs
- XmlAttributeAttribute.cs
- View.cs
- RayMeshGeometry3DHitTestResult.cs
- SqlInfoMessageEvent.cs
- EasingKeyFrames.cs
- Error.cs
- Matrix3DStack.cs
- DbQueryCommandTree.cs
- HostProtectionPermission.cs
- PropertyMap.cs
- Single.cs
- StreamSecurityUpgradeInitiatorBase.cs
- UnsafeMethods.cs
- DefaultPrintController.cs
- XamlPoint3DCollectionSerializer.cs
- EditingScope.cs
- BrowserCapabilitiesFactory35.cs
- SingleObjectCollection.cs
- HwndSource.cs
- XmlJsonReader.cs
- WindowInteractionStateTracker.cs
- ZeroOpNode.cs
- PEFileEvidenceFactory.cs
- SqlNotificationRequest.cs
- Decimal.cs
- Vector3DValueSerializer.cs
- PageStatePersister.cs
- IdentityModelStringsVersion1.cs
- RtType.cs
- InvokePatternIdentifiers.cs
- AttributeSetAction.cs
- _SpnDictionary.cs
- ProtocolReflector.cs
- TreeViewCancelEvent.cs
- TextChange.cs
- ToolStripPanelSelectionGlyph.cs
- ScriptControlManager.cs
- RangeValidator.cs
- ArgumentsParser.cs
- BrushValueSerializer.cs
- ValueChangedEventManager.cs
- Normalization.cs
- ProfileProvider.cs
- MaterialCollection.cs
- AggregateNode.cs
- TypeListConverter.cs
- ImageField.cs
- XmlSerializerNamespaces.cs
- ToolStripContentPanelRenderEventArgs.cs
- NullableBoolConverter.cs
- HtmlControl.cs
- updateconfighost.cs
- BindingMemberInfo.cs
- Condition.cs
- BitmapEffectCollection.cs
- NullableLongSumAggregationOperator.cs
- ConfigurationElementProperty.cs
- FileSecurity.cs
- SqlConnection.cs