Code:
/ 4.0 / 4.0 / 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. //---------------------------------------------------------------------- //// 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
- FirstMatchCodeGroup.cs
- OdbcConnectionString.cs
- FilteredAttributeCollection.cs
- LabelLiteral.cs
- SQLDouble.cs
- XmlCodeExporter.cs
- MarshalByValueComponent.cs
- Serializer.cs
- DataControlFieldCollection.cs
- ScaleTransform.cs
- XmlWellformedWriter.cs
- HtmlForm.cs
- SpeechRecognitionEngine.cs
- ActiveXHost.cs
- MachineKeyConverter.cs
- SettingsPropertyIsReadOnlyException.cs
- xamlnodes.cs
- MSAANativeProvider.cs
- MarkerProperties.cs
- BinaryParser.cs
- Package.cs
- Classification.cs
- ResXBuildProvider.cs
- UnaryNode.cs
- SiteMapNode.cs
- ConstructorExpr.cs
- RowToParametersTransformer.cs
- PixelShader.cs
- unitconverter.cs
- SQLInt32Storage.cs
- Floater.cs
- GeneratedContractType.cs
- FusionWrap.cs
- InsufficientMemoryException.cs
- SqlGenerator.cs
- TemplatePropertyEntry.cs
- ColumnWidthChangedEvent.cs
- TreeIterators.cs
- DrawingBrush.cs
- CryptographicAttribute.cs
- AuthenticationSection.cs
- TempFiles.cs
- RandomNumberGenerator.cs
- StandardToolWindows.cs
- GeometryHitTestParameters.cs
- ScrollChrome.cs
- ParseChildrenAsPropertiesAttribute.cs
- LZCodec.cs
- WebEventTraceProvider.cs
- TypeToTreeConverter.cs
- EditorBrowsableAttribute.cs
- WebColorConverter.cs
- CompilerCollection.cs
- EdmItemError.cs
- WebPartDisplayModeCollection.cs
- _CookieModule.cs
- FastEncoder.cs
- EntityClassGenerator.cs
- HwndKeyboardInputProvider.cs
- DiscoveryProxy.cs
- SiteMapNode.cs
- DataGridState.cs
- QuaternionIndependentAnimationStorage.cs
- BitmapInitialize.cs
- FullTextBreakpoint.cs
- Invariant.cs
- UnknownWrapper.cs
- DesignerForm.cs
- CompilerTypeWithParams.cs
- _OSSOCK.cs
- TransformGroup.cs
- RoleBoolean.cs
- IndicCharClassifier.cs
- X509Chain.cs
- ScrollBar.cs
- EntityParameterCollection.cs
- ConsoleTraceListener.cs
- TiffBitmapDecoder.cs
- DesignerValidationSummaryAdapter.cs
- CodeTypeDeclarationCollection.cs
- WebHeaderCollection.cs
- TraceUtility.cs
- MimeBasePart.cs
- EventProxy.cs
- StorageFunctionMapping.cs
- StringFreezingAttribute.cs
- DPCustomTypeDescriptor.cs
- SingleAnimation.cs
- BasicCellRelation.cs
- CodeDOMUtility.cs
- AndMessageFilter.cs
- LayoutEditorPart.cs
- GcHandle.cs
- RC2.cs
- RewritingProcessor.cs
- CqlLexerHelpers.cs
- RegexGroupCollection.cs
- BaseResourcesBuildProvider.cs
- FormatConvertedBitmap.cs
- ScrollBar.cs