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
- _LocalDataStoreMgr.cs
- FlowDocumentPaginator.cs
- dbdatarecord.cs
- ResourceExpressionBuilder.cs
- SettingsPropertyCollection.cs
- AuthorizationRule.cs
- ObjectDataSource.cs
- ListSortDescription.cs
- AssemblyNameUtility.cs
- DictionaryEntry.cs
- ResourcePart.cs
- Zone.cs
- LinqDataSourceStatusEventArgs.cs
- JsonObjectDataContract.cs
- ObjectListDataBindEventArgs.cs
- FileAuthorizationModule.cs
- RoutedEventValueSerializer.cs
- TableRow.cs
- MapPathBasedVirtualPathProvider.cs
- TreeViewImageIndexConverter.cs
- ContractsBCL.cs
- WebBrowserContainer.cs
- Stopwatch.cs
- WorkflowRuntime.cs
- FixedHyperLink.cs
- IndexedWhereQueryOperator.cs
- FacetDescriptionElement.cs
- ContourSegment.cs
- CultureInfo.cs
- ModifierKeysConverter.cs
- WriteFileContext.cs
- ArgumentException.cs
- ComponentEditorPage.cs
- OpenTypeCommon.cs
- ByteStorage.cs
- WindowsBrush.cs
- CharacterBuffer.cs
- SamlSerializer.cs
- EdmComplexTypeAttribute.cs
- TreeViewCancelEvent.cs
- SemanticResultKey.cs
- CompilerInfo.cs
- XmlNodeChangedEventManager.cs
- XPathMultyIterator.cs
- LineInfo.cs
- Dynamic.cs
- JavaScriptSerializer.cs
- XmlKeywords.cs
- CalendarAutoFormat.cs
- TypeSource.cs
- SafeFindHandle.cs
- MissingSatelliteAssemblyException.cs
- Speller.cs
- WebPartTransformerAttribute.cs
- StylusButtonCollection.cs
- PriorityRange.cs
- WpfKnownMember.cs
- ChannelManager.cs
- ZipIOExtraFieldPaddingElement.cs
- DiagnosticTrace.cs
- SelectionProviderWrapper.cs
- SessionStateModule.cs
- CodeEntryPointMethod.cs
- InstanceDataCollection.cs
- XmlText.cs
- DataGridViewCellLinkedList.cs
- Vars.cs
- ByteStream.cs
- AttributeAction.cs
- HttpAsyncResult.cs
- OpenTypeLayoutCache.cs
- Win32Exception.cs
- FloaterParagraph.cs
- IndexedGlyphRun.cs
- SplitterEvent.cs
- ValidatorCollection.cs
- DriveInfo.cs
- SafeCancelMibChangeNotify.cs
- NameValueSectionHandler.cs
- PiiTraceSource.cs
- EncryptedType.cs
- KerberosSecurityTokenAuthenticator.cs
- MultipleViewPattern.cs
- Conditional.cs
- SubMenuStyleCollectionEditor.cs
- TcpTransportManager.cs
- ProxyHwnd.cs
- StylusOverProperty.cs
- DrawingContextDrawingContextWalker.cs
- DataServiceKeyAttribute.cs
- ManualResetEvent.cs
- MessageHeaderException.cs
- CompilerInfo.cs
- UnmanagedMarshal.cs
- FeatureSupport.cs
- EdmToObjectNamespaceMap.cs
- ExtentKey.cs
- FontFamily.cs
- GrammarBuilderPhrase.cs
- UIAgentRequest.cs