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
- SystemIcmpV4Statistics.cs
- BitmapEncoder.cs
- ConstraintCollection.cs
- WebRequestModuleElementCollection.cs
- DefaultSection.cs
- _KerberosClient.cs
- XamlToRtfParser.cs
- ImageSource.cs
- DoubleUtil.cs
- CellQuery.cs
- GradientStopCollection.cs
- DbParameterCollectionHelper.cs
- DummyDataSource.cs
- StylusButtonCollection.cs
- CommandLineParser.cs
- XamlRtfConverter.cs
- ObjRef.cs
- XD.cs
- XsdCachingReader.cs
- ImageIndexConverter.cs
- ListBindingHelper.cs
- DetailsView.cs
- Accessible.cs
- JsonReaderDelegator.cs
- MethodResolver.cs
- SqlRowUpdatedEvent.cs
- ProfilePropertyMetadata.cs
- GridView.cs
- SecurityTokenSerializer.cs
- AsymmetricKeyExchangeFormatter.cs
- Root.cs
- Brush.cs
- SoapElementAttribute.cs
- FilterFactory.cs
- AvTraceFormat.cs
- StorageAssociationTypeMapping.cs
- HotCommands.cs
- TreeNodeMouseHoverEvent.cs
- LassoSelectionBehavior.cs
- ListViewDeletedEventArgs.cs
- ResourceType.cs
- ReadOnlyCollectionBuilder.cs
- DataControlLinkButton.cs
- XPathAncestorIterator.cs
- ClientBuildManagerTypeDescriptionProviderBridge.cs
- NativeMethods.cs
- BitmapImage.cs
- XmlNotation.cs
- HttpWriter.cs
- XPathParser.cs
- CodePageUtils.cs
- PropertyDescriptorCollection.cs
- NumberFormatter.cs
- CroppedBitmap.cs
- EntityDataSourceState.cs
- DesigntimeLicenseContextSerializer.cs
- DataBoundControlHelper.cs
- Size3D.cs
- DiscoveryInnerClientAdhoc11.cs
- WindowsAuthenticationEventArgs.cs
- SourceElementsCollection.cs
- CellConstant.cs
- TrustManagerMoreInformation.cs
- ChtmlImageAdapter.cs
- ping.cs
- UnknownWrapper.cs
- NameTable.cs
- QilCloneVisitor.cs
- ValidationResult.cs
- ProcessDesigner.cs
- DiscoveryDocument.cs
- BidOverLoads.cs
- __FastResourceComparer.cs
- RepeatButtonAutomationPeer.cs
- HttpCookieCollection.cs
- DataGridViewCellStyle.cs
- SqlFlattener.cs
- Object.cs
- _SslSessionsCache.cs
- EventMappingSettingsCollection.cs
- CapabilitiesAssignment.cs
- FileNameEditor.cs
- NotifyParentPropertyAttribute.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- StaticExtension.cs
- ProfessionalColors.cs
- TagMapInfo.cs
- QilReplaceVisitor.cs
- FakeModelPropertyImpl.cs
- GeneralTransformGroup.cs
- ProcessStartInfo.cs
- CodeMemberEvent.cs
- EntitySqlQueryState.cs
- CopyAttributesAction.cs
- LowerCaseStringConverter.cs
- DataGridViewCellStyleConverter.cs
- ClientOptions.cs
- BitmapEffectInputConnector.cs
- SystemNetHelpers.cs
- DataException.cs