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
- ExpressionsCollectionConverter.cs
- WebServiceEnumData.cs
- XpsSerializationException.cs
- ContentOperations.cs
- SqlFactory.cs
- ClientSettingsStore.cs
- PcmConverter.cs
- _ShellExpression.cs
- FlowLayout.cs
- SmiGettersStream.cs
- TextEditorMouse.cs
- LoginCancelEventArgs.cs
- ResourceBinder.cs
- AsyncSerializedWorker.cs
- PrinterResolution.cs
- FixedLineResult.cs
- XmlSchemaValidator.cs
- Mappings.cs
- ListDictionaryInternal.cs
- AnnotationObservableCollection.cs
- BindingUtils.cs
- TraceRecords.cs
- DataGridViewHitTestInfo.cs
- Point3DAnimationBase.cs
- HttpListenerException.cs
- CodeIdentifiers.cs
- DataGridParentRows.cs
- PreProcessor.cs
- DetailsViewCommandEventArgs.cs
- PointCollection.cs
- MetadataPropertyvalue.cs
- NameNode.cs
- WorkflowDesignerMessageFilter.cs
- InvalidTimeZoneException.cs
- ProxyWebPartManagerDesigner.cs
- HtmlButton.cs
- FrameworkReadOnlyPropertyMetadata.cs
- MatrixUtil.cs
- CalendarDesigner.cs
- GetLedgerEntryForRecipientRequest.cs
- SpellerInterop.cs
- StringUtil.cs
- DecimalStorage.cs
- propertyentry.cs
- OleServicesContext.cs
- ShadowGlyph.cs
- DeploymentSectionCache.cs
- AutomationProperty.cs
- WebBrowserHelper.cs
- CodeIdentifiers.cs
- TimeSpanFormat.cs
- NamespaceInfo.cs
- BaseDataListPage.cs
- ThreadPool.cs
- CollectionsUtil.cs
- IconBitmapDecoder.cs
- MediaTimeline.cs
- EndpointAddress.cs
- LineBreakRecord.cs
- DbConnectionOptions.cs
- FigureParagraph.cs
- HelpKeywordAttribute.cs
- SystemIPGlobalStatistics.cs
- PbrsForward.cs
- ReferencedType.cs
- ResourceReferenceExpression.cs
- ImageListUtils.cs
- WebConfigurationManager.cs
- AssociatedControlConverter.cs
- ProtocolsConfigurationHandler.cs
- ConnectionsZone.cs
- HttpWebRequest.cs
- UnregisterInfo.cs
- Listbox.cs
- AppDomainProtocolHandler.cs
- AssertFilter.cs
- BufferedReadStream.cs
- Tile.cs
- NameTable.cs
- XamlClipboardData.cs
- ContentFilePart.cs
- DataGridItemEventArgs.cs
- Primitive.cs
- TryCatchDesigner.xaml.cs
- RNGCryptoServiceProvider.cs
- SimpleTypeResolver.cs
- IsolatedStoragePermission.cs
- BitmapEncoder.cs
- mediaeventargs.cs
- Assert.cs
- GridViewAutomationPeer.cs
- FontStyle.cs
- IItemContainerGenerator.cs
- CodeCastExpression.cs
- JsonServiceDocumentSerializer.cs
- LabelEditEvent.cs
- Deflater.cs
- BrowserCapabilitiesCodeGenerator.cs
- SessionStateItemCollection.cs
- CustomErrorCollection.cs