Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / ndp / fx / src / DataEntity / System / Data / Mapping / MappingItemCollection.cs / 2 / 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
- DbConnectionInternal.cs
- DiscoveryMessageSequenceGenerator.cs
- ImmComposition.cs
- FilteredDataSetHelper.cs
- HighlightOverlayGlyph.cs
- PrePrepareMethodAttribute.cs
- Rectangle.cs
- BaseTemplateParser.cs
- Transform3DGroup.cs
- InvalidateEvent.cs
- BitStream.cs
- HostSecurityManager.cs
- CodeCastExpression.cs
- RectKeyFrameCollection.cs
- WeakHashtable.cs
- RsaEndpointIdentity.cs
- StubHelpers.cs
- ObjectDataSourceDesigner.cs
- iisPickupDirectory.cs
- MimeTypeMapper.cs
- ModelItem.cs
- EnterpriseServicesHelper.cs
- IntranetCredentialPolicy.cs
- KnownBoxes.cs
- DefaultObjectMappingItemCollection.cs
- ValidationEventArgs.cs
- ProfileManager.cs
- VisualStyleTypesAndProperties.cs
- InternalConfigHost.cs
- RadioButtonPopupAdapter.cs
- SystemUnicastIPAddressInformation.cs
- PopupEventArgs.cs
- EncryptedType.cs
- Literal.cs
- log.cs
- DataProtection.cs
- elementinformation.cs
- WebPartDisplayModeCancelEventArgs.cs
- MissingMethodException.cs
- SoapInteropTypes.cs
- XmlEntity.cs
- ItemsControl.cs
- ThicknessAnimation.cs
- FocusWithinProperty.cs
- Utils.cs
- MembershipUser.cs
- Geometry3D.cs
- SecurityTokenRequirement.cs
- XComponentModel.cs
- ErrorHandler.cs
- ICollection.cs
- WebPartManagerInternals.cs
- HtmlInputFile.cs
- SqlBooleanizer.cs
- HScrollProperties.cs
- DataRowView.cs
- ImageListUtils.cs
- ToolStripSystemRenderer.cs
- CSharpCodeProvider.cs
- MouseGestureValueSerializer.cs
- AuthenticationConfig.cs
- HostProtectionPermission.cs
- Size3D.cs
- TypeSystemProvider.cs
- RunInstallerAttribute.cs
- TemplateBindingExpression.cs
- XDeferredAxisSource.cs
- Baml2006ReaderContext.cs
- FlowLayoutPanelDesigner.cs
- TextContainerHelper.cs
- ImpersonationContext.cs
- ExpressionLexer.cs
- TreeViewImageKeyConverter.cs
- ScrollBarAutomationPeer.cs
- ExtendedPropertyCollection.cs
- SecureConversationServiceCredential.cs
- SchemaInfo.cs
- CngUIPolicy.cs
- ValidatingReaderNodeData.cs
- ListChunk.cs
- TemplateBamlTreeBuilder.cs
- HttpModulesSection.cs
- FileDialogCustomPlacesCollection.cs
- XmlSchema.cs
- ModelTreeEnumerator.cs
- shaper.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- DataControlReference.cs
- ListenerElementsCollection.cs
- RowCache.cs
- AspNetSynchronizationContext.cs
- SqlInternalConnectionSmi.cs
- OdbcParameterCollection.cs
- WizardSideBarListControlItem.cs
- tabpagecollectioneditor.cs
- XmlStreamStore.cs
- LockedAssemblyCache.cs
- BaseTemplateBuildProvider.cs
- KeyToListMap.cs
- OleDbException.cs