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
- CurrentChangedEventManager.cs
- StateManagedCollection.cs
- InvalidAsynchronousStateException.cs
- NamespaceDisplay.xaml.cs
- ControlBindingsCollection.cs
- BreakRecordTable.cs
- TextRunCacheImp.cs
- DynamicMethod.cs
- Focus.cs
- Triplet.cs
- SliderAutomationPeer.cs
- ValuePatternIdentifiers.cs
- RegexCompiler.cs
- DbConnectionOptions.cs
- Translator.cs
- LOSFormatter.cs
- XmlSchemaObject.cs
- PropertyManager.cs
- XmlDataDocument.cs
- PackWebRequest.cs
- Keywords.cs
- XmlComment.cs
- Char.cs
- SpeechSynthesizer.cs
- PackageStore.cs
- MemberInitExpression.cs
- ObjectDataSourceFilteringEventArgs.cs
- Expander.cs
- RelatedCurrencyManager.cs
- FilteredReadOnlyMetadataCollection.cs
- LookupBindingPropertiesAttribute.cs
- RawUIStateInputReport.cs
- BufferModesCollection.cs
- RegularExpressionValidator.cs
- SQLDoubleStorage.cs
- ToolStripProgressBar.cs
- ZoneButton.cs
- LocalIdKeyIdentifierClause.cs
- DragAssistanceManager.cs
- DatagridviewDisplayedBandsData.cs
- RawTextInputReport.cs
- ConsoleTraceListener.cs
- MailAddressCollection.cs
- IdentityReference.cs
- SafeEventLogWriteHandle.cs
- MethodImplAttribute.cs
- ExpressionVisitorHelpers.cs
- CachedPathData.cs
- BamlWriter.cs
- TrackingValidationObjectDictionary.cs
- PolyLineSegmentFigureLogic.cs
- SelectionProcessor.cs
- XPathPatternBuilder.cs
- DataBoundControl.cs
- DbProviderFactoriesConfigurationHandler.cs
- DocumentOrderComparer.cs
- SourceItem.cs
- BamlMapTable.cs
- BindMarkupExtensionSerializer.cs
- DiagnosticTraceSource.cs
- StatusBarItem.cs
- UnsafeNativeMethods.cs
- SrgsRule.cs
- ToolStripScrollButton.cs
- FileUtil.cs
- DeviceContext.cs
- COM2PictureConverter.cs
- XmlReflectionMember.cs
- DateTimeUtil.cs
- ValueChangedEventManager.cs
- WebPartExportVerb.cs
- entityreference_tresulttype.cs
- UIElement3D.cs
- File.cs
- ChangesetResponse.cs
- EntityModelBuildProvider.cs
- DataGridViewImageCell.cs
- DescendantOverDescendantQuery.cs
- HttpHandlerAction.cs
- DefaultDialogButtons.cs
- QilParameter.cs
- StructuralCache.cs
- XmlTypeAttribute.cs
- ThicknessAnimationUsingKeyFrames.cs
- TabPage.cs
- AlternateView.cs
- HeaderedContentControl.cs
- LoginName.cs
- CodeVariableReferenceExpression.cs
- BitmapEncoder.cs
- GridSplitter.cs
- shaperfactoryquerycachekey.cs
- HwndAppCommandInputProvider.cs
- Inline.cs
- WorkflowQueue.cs
- HashAlgorithm.cs
- ExeContext.cs
- StateWorkerRequest.cs
- Visual3D.cs
- DateTime.cs