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
- HandlerBase.cs
- BitmapEffectrendercontext.cs
- EmptyTextWriter.cs
- PartialArray.cs
- LinqDataSourceDeleteEventArgs.cs
- ThicknessAnimationBase.cs
- AdornerDecorator.cs
- DataGridViewAutoSizeModeEventArgs.cs
- HwndPanningFeedback.cs
- HtmlInputSubmit.cs
- OrderByBuilder.cs
- NonSerializedAttribute.cs
- OracleRowUpdatedEventArgs.cs
- MatcherBuilder.cs
- ReverseInheritProperty.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- DataGridViewHeaderCell.cs
- Geometry.cs
- WebPartTransformerCollection.cs
- IndentedWriter.cs
- MouseBinding.cs
- ObjectKeyFrameCollection.cs
- FontWeights.cs
- StaticDataManager.cs
- TagPrefixAttribute.cs
- CryptoApi.cs
- AnnotationComponentManager.cs
- BrowserCapabilitiesFactoryBase.cs
- DateTimeFormatInfo.cs
- DiscreteKeyFrames.cs
- ClientData.cs
- KnownTypeAttribute.cs
- BrowserCapabilitiesFactoryBase.cs
- ColumnClickEvent.cs
- ByteAnimationBase.cs
- ApplicationHost.cs
- HttpRequestCacheValidator.cs
- GatewayDefinition.cs
- SpeechRecognitionEngine.cs
- ByteStreamMessageEncoderFactory.cs
- DecoderBestFitFallback.cs
- ToolStripSplitStackLayout.cs
- InvalidDataContractException.cs
- TextServicesCompartmentContext.cs
- httpserverutility.cs
- DetailsViewPagerRow.cs
- ClosureBinding.cs
- DiscoveryClientBindingElement.cs
- WeakReferenceEnumerator.cs
- ListItemConverter.cs
- XmlNodeWriter.cs
- AlignmentXValidation.cs
- HttpRequest.cs
- IntegerValidator.cs
- CorrelationManager.cs
- SqlInfoMessageEvent.cs
- DrawTreeNodeEventArgs.cs
- DataGridViewImageColumn.cs
- PartialList.cs
- GroupPartitionExpr.cs
- SqlServer2KCompatibilityCheck.cs
- CodeDirectoryCompiler.cs
- DocumentViewer.cs
- EdmSchemaError.cs
- XmlAttributeCollection.cs
- DataBoundControlActionList.cs
- SemanticTag.cs
- SqlTransaction.cs
- safePerfProviderHandle.cs
- XmlElementAttribute.cs
- CultureTable.cs
- SqlEnums.cs
- ControlTemplate.cs
- CodeDelegateCreateExpression.cs
- ipaddressinformationcollection.cs
- NopReturnReader.cs
- TrackBar.cs
- GenericWebPart.cs
- TypeConverterValueSerializer.cs
- WebPartActionVerb.cs
- Interop.cs
- LayoutTableCell.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- XmlArrayItemAttributes.cs
- PartBasedPackageProperties.cs
- ELinqQueryState.cs
- ConsoleKeyInfo.cs
- Transform3DGroup.cs
- Panel.cs
- ParallelRangeManager.cs
- MembershipUser.cs
- Misc.cs
- MachineKeySection.cs
- PDBReader.cs
- HttpApplicationStateWrapper.cs
- ErrorRuntimeConfig.cs
- DataDesignUtil.cs
- CollectionChangedEventManager.cs
- TextEditorParagraphs.cs
- XamlContextStack.cs