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
- ColumnWidthChangingEvent.cs
- CodeAttachEventStatement.cs
- TablePattern.cs
- CustomErrorCollection.cs
- Rfc2898DeriveBytes.cs
- CodeChecksumPragma.cs
- WebPartMenu.cs
- SpeechUI.cs
- OleDbSchemaGuid.cs
- TaskHelper.cs
- SuppressMessageAttribute.cs
- StyleCollection.cs
- SoapInteropTypes.cs
- DurationConverter.cs
- X509Certificate2Collection.cs
- EntitySqlQueryCacheKey.cs
- LambdaCompiler.Generated.cs
- TypeDelegator.cs
- DesignerLinkAdapter.cs
- MasterPageParser.cs
- NavigatorInvalidBodyAccessException.cs
- CalendarAutoFormat.cs
- StreamUpdate.cs
- Document.cs
- AnnotationService.cs
- ActivityDesigner.cs
- Stackframe.cs
- FacetChecker.cs
- DirectoryRedirect.cs
- DeclarationUpdate.cs
- GZipStream.cs
- WebPartTransformerCollection.cs
- MailAddressCollection.cs
- ReadOnlyHierarchicalDataSource.cs
- DesignTimeVisibleAttribute.cs
- MaskedTextBoxDesignerActionList.cs
- ZipPackagePart.cs
- ExpressionEvaluator.cs
- ChtmlCommandAdapter.cs
- ExtendedPropertiesHandler.cs
- TabletDeviceInfo.cs
- WindowManager.cs
- RestClientProxyHandler.cs
- StatusBarAutomationPeer.cs
- IsolatedStorageException.cs
- TableAdapterManagerMethodGenerator.cs
- XPathBuilder.cs
- ErrorLog.cs
- OracleRowUpdatingEventArgs.cs
- PropertyGeneratedEventArgs.cs
- GenericTypeParameterBuilder.cs
- ObjectToIdCache.cs
- StreamGeometry.cs
- Pkcs7Signer.cs
- Visual3D.cs
- FloaterBaseParagraph.cs
- XmlRootAttribute.cs
- DBPropSet.cs
- PolyQuadraticBezierSegment.cs
- WebServiceMethodData.cs
- NativeActivity.cs
- StylusPointProperty.cs
- ProfileParameter.cs
- TransformerConfigurationWizardBase.cs
- DateTimeValueSerializerContext.cs
- ActivityExecutor.cs
- FormsAuthentication.cs
- Latin1Encoding.cs
- Parameter.cs
- TypeSystem.cs
- InheritanceRules.cs
- Polyline.cs
- PropertyInfoSet.cs
- PermissionSetTriple.cs
- HiddenField.cs
- GridErrorDlg.cs
- PriorityChain.cs
- WebPartConnectionsConnectVerb.cs
- SerializationInfoEnumerator.cs
- AsyncOperationManager.cs
- Size3D.cs
- TextServicesLoader.cs
- URLMembershipCondition.cs
- SqlInternalConnectionTds.cs
- QueryLifecycle.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- dataobject.cs
- HostedHttpTransportManager.cs
- EdmComplexTypeAttribute.cs
- SafeThreadHandle.cs
- TimelineGroup.cs
- DictionaryBase.cs
- SecurityTokenProvider.cs
- GenericUriParser.cs
- ActivityDelegate.cs
- SrgsSemanticInterpretationTag.cs
- DataGridViewImageCell.cs
- BaseTransportHeaders.cs
- SolidBrush.cs
- InvalidPropValue.cs