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
- UnknownBitmapDecoder.cs
- NetSectionGroup.cs
- DataTableCollection.cs
- PipelineModuleStepContainer.cs
- UnsafeNativeMethodsPenimc.cs
- TimeSpanValidator.cs
- PolyQuadraticBezierSegment.cs
- ValueUnavailableException.cs
- updatecommandorderer.cs
- XmlArrayItemAttributes.cs
- TimelineClockCollection.cs
- DataSourceHelper.cs
- ProcessHostMapPath.cs
- FrameDimension.cs
- MatrixAnimationUsingKeyFrames.cs
- ExportOptions.cs
- filewebrequest.cs
- EditorPart.cs
- Semaphore.cs
- XmlObjectSerializerContext.cs
- Ops.cs
- COM2Properties.cs
- WorkflowViewService.cs
- ScriptResourceAttribute.cs
- ConfigDefinitionUpdates.cs
- InkCanvasSelection.cs
- DataGridDetailsPresenterAutomationPeer.cs
- CompModSwitches.cs
- GlyphRunDrawing.cs
- SocketException.cs
- EntityDataSourceContextDisposingEventArgs.cs
- NativeMethods.cs
- ProtocolsConfigurationHandler.cs
- HMACSHA256.cs
- _NegoStream.cs
- X509ChainElement.cs
- NodeLabelEditEvent.cs
- AsymmetricSignatureDeformatter.cs
- WCFServiceClientProxyGenerator.cs
- DesignerView.xaml.cs
- GeneralTransform.cs
- TypeFieldSchema.cs
- SafeThemeHandle.cs
- AutomationProperty.cs
- ObjectAnimationUsingKeyFrames.cs
- _KerberosClient.cs
- InheritedPropertyChangedEventArgs.cs
- Operand.cs
- FileRecordSequenceHelper.cs
- XmlWrappingReader.cs
- Selector.cs
- UncommonField.cs
- Point3DCollection.cs
- ControlUtil.cs
- XmlBoundElement.cs
- RotateTransform3D.cs
- WorkflowDurableInstance.cs
- ResourceReferenceKeyNotFoundException.cs
- PartManifestEntry.cs
- TemplateAction.cs
- KeyedHashAlgorithm.cs
- FrameworkContextData.cs
- MtomMessageEncodingBindingElement.cs
- ScriptControl.cs
- ExeConfigurationFileMap.cs
- StylusEditingBehavior.cs
- DataGridItemCollection.cs
- HtmlInputText.cs
- ContourSegment.cs
- ColumnResult.cs
- StringDictionary.cs
- X509SecurityTokenParameters.cs
- SyndicationDeserializer.cs
- dbenumerator.cs
- HitTestDrawingContextWalker.cs
- LoadMessageLogger.cs
- Missing.cs
- TransformGroup.cs
- ValidatingReaderNodeData.cs
- Int32RectValueSerializer.cs
- RtfToXamlReader.cs
- ActivityAction.cs
- URL.cs
- TypeUtil.cs
- wmiprovider.cs
- PagedDataSource.cs
- NextPreviousPagerField.cs
- DataGridToolTip.cs
- StringResourceManager.cs
- SynthesizerStateChangedEventArgs.cs
- Matrix3D.cs
- connectionpool.cs
- GridViewSortEventArgs.cs
- DashStyle.cs
- PeerNameRecord.cs
- EntityModelBuildProvider.cs
- CodeSnippetTypeMember.cs
- UserNameSecurityTokenProvider.cs
- XmlSchemaException.cs
- SchemeSettingElement.cs