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
- StreamedWorkflowDefinitionContext.cs
- ButtonBaseAdapter.cs
- CollectionBuilder.cs
- NativeMethods.cs
- PersianCalendar.cs
- AssociationSet.cs
- KnownAssemblyEntry.cs
- QilNode.cs
- storepermissionattribute.cs
- PassportAuthenticationModule.cs
- CuspData.cs
- RemotingSurrogateSelector.cs
- Rfc4050KeyFormatter.cs
- OdbcStatementHandle.cs
- ObjectParameterCollection.cs
- Command.cs
- MarkupCompilePass1.cs
- XmlILAnnotation.cs
- PerformanceCounterPermissionEntryCollection.cs
- LoginCancelEventArgs.cs
- XmlBinaryReader.cs
- DataGridViewSelectedColumnCollection.cs
- RequiredAttributeAttribute.cs
- AbsoluteQuery.cs
- UpnEndpointIdentity.cs
- Thread.cs
- Nodes.cs
- CodeExporter.cs
- SerializationSectionGroup.cs
- KeySplineConverter.cs
- NativeMethods.cs
- SQLUtility.cs
- ChangeTracker.cs
- DbSource.cs
- PackageRelationship.cs
- OdbcConnectionStringbuilder.cs
- DictionaryTraceRecord.cs
- ImageButton.cs
- SimpleHandlerBuildProvider.cs
- GridViewDeleteEventArgs.cs
- DataRowCollection.cs
- FixedSOMPageConstructor.cs
- SocketAddress.cs
- Quaternion.cs
- XmlJsonWriter.cs
- Activity.cs
- StrokeNodeData.cs
- BypassElement.cs
- WebPartDeleteVerb.cs
- XmlSchemaSet.cs
- PermissionSetTriple.cs
- DataGridViewCellStyle.cs
- WorkflowMessageEventArgs.cs
- ApplicationDirectoryMembershipCondition.cs
- BindingList.cs
- NullableDoubleSumAggregationOperator.cs
- StrongNamePublicKeyBlob.cs
- ScriptHandlerFactory.cs
- ClaimSet.cs
- Assembly.cs
- EditorPart.cs
- HttpServerUtilityBase.cs
- Nodes.cs
- PrintControllerWithStatusDialog.cs
- ContentAlignmentEditor.cs
- TimeSpanValidator.cs
- CommandBinding.cs
- UIElementParagraph.cs
- FieldBuilder.cs
- XamlPoint3DCollectionSerializer.cs
- FacetEnabledSchemaElement.cs
- XmlElementList.cs
- RadioButtonPopupAdapter.cs
- XamlVector3DCollectionSerializer.cs
- ScrollChrome.cs
- ListViewItem.cs
- AddressHeaderCollection.cs
- CodeValidator.cs
- EventListenerClientSide.cs
- VisualStyleInformation.cs
- ServiceDeploymentInfo.cs
- PartialArray.cs
- TrueReadOnlyCollection.cs
- StreamAsIStream.cs
- ColorInterpolationModeValidation.cs
- RegisterResponseInfo.cs
- InternalUserCancelledException.cs
- XmlAttributeHolder.cs
- ConnectivityStatus.cs
- ProfileSettings.cs
- ZipIOFileItemStream.cs
- PieceDirectory.cs
- VerificationAttribute.cs
- HyperLinkField.cs
- ConnectionInterfaceCollection.cs
- Compiler.cs
- XmlUrlResolver.cs
- XamlFigureLengthSerializer.cs
- ScrollBar.cs
- FileVersionInfo.cs