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
- CqlErrorHelper.cs
- diagnosticsswitches.cs
- CodeDirectoryCompiler.cs
- StreamGeometry.cs
- GlobalDataBindingHandler.cs
- ConsoleCancelEventArgs.cs
- XhtmlBasicListAdapter.cs
- TimeZone.cs
- EndpointAddressMessageFilter.cs
- NTAccount.cs
- ScrollBarAutomationPeer.cs
- MessageProperties.cs
- RestHandler.cs
- WSAddressing10ProblemHeaderQNameFault.cs
- FlagsAttribute.cs
- SevenBitStream.cs
- HitTestParameters3D.cs
- RequestCacheManager.cs
- TextParagraphProperties.cs
- TTSEngineProxy.cs
- StrokeFIndices.cs
- XmlSchemaAppInfo.cs
- GroupedContextMenuStrip.cs
- WorkflowRuntimeSection.cs
- XmlReturnReader.cs
- MimeXmlImporter.cs
- ComPersistableTypeElementCollection.cs
- BooleanProjectedSlot.cs
- TimeSpan.cs
- MergeLocalizationDirectives.cs
- ProxyWebPartManagerDesigner.cs
- AssemblyAttributes.cs
- OptimizedTemplateContent.cs
- GridItemCollection.cs
- ExtenderProvidedPropertyAttribute.cs
- FloatUtil.cs
- SqlSelectStatement.cs
- MaterializeFromAtom.cs
- CodeAttributeDeclaration.cs
- OdbcRowUpdatingEvent.cs
- EventLogPropertySelector.cs
- Dispatcher.cs
- DataGridViewDataErrorEventArgs.cs
- SystemDropShadowChrome.cs
- SQLConvert.cs
- Keywords.cs
- FormatVersion.cs
- FieldInfo.cs
- InterleavedZipPartStream.cs
- MemberRelationshipService.cs
- RegexFCD.cs
- TransformerTypeCollection.cs
- QueryReaderSettings.cs
- filewebresponse.cs
- BuildManagerHost.cs
- SslStreamSecurityElement.cs
- GACIdentityPermission.cs
- Msec.cs
- ValueTable.cs
- FigureParagraph.cs
- PrimarySelectionAdorner.cs
- Exceptions.cs
- LinkedList.cs
- NodeLabelEditEvent.cs
- MediaContext.cs
- WebBrowserUriTypeConverter.cs
- AvTrace.cs
- PtsCache.cs
- MenuItemCollection.cs
- StorageInfo.cs
- MsmqBindingElementBase.cs
- BinarySecretKeyIdentifierClause.cs
- ConditionalAttribute.cs
- DbModificationCommandTree.cs
- CompilationRelaxations.cs
- UriTemplateHelpers.cs
- XmlSchemaInfo.cs
- SecurityUtils.cs
- HuffModule.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- CorrelationManager.cs
- ControlPaint.cs
- BitmapDownload.cs
- DataGridItem.cs
- ErrorHandler.cs
- SpeechDetectedEventArgs.cs
- ControlUtil.cs
- ReadOnlyHierarchicalDataSource.cs
- DocumentEventArgs.cs
- AndCondition.cs
- TransformerInfo.cs
- UIElement.cs
- LazyLoadBehavior.cs
- ColumnPropertiesGroup.cs
- CompositeActivityValidator.cs
- SafeLocalAllocation.cs
- ServerValidateEventArgs.cs
- DataGridViewCellStyleConverter.cs
- BooleanStorage.cs
- EmbeddedMailObject.cs