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
- DynamicArgumentDesigner.xaml.cs
- Command.cs
- WebBrowserUriTypeConverter.cs
- ExpressionVisitorHelpers.cs
- ModelUIElement3D.cs
- TriState.cs
- XmlNamespaceMapping.cs
- LinqDataSourceEditData.cs
- JsonClassDataContract.cs
- XmlUtil.cs
- coordinatorscratchpad.cs
- GridItem.cs
- FieldNameLookup.cs
- Config.cs
- SafeRightsManagementPubHandle.cs
- PrintDialogException.cs
- SpecularMaterial.cs
- RbTree.cs
- JoinCqlBlock.cs
- ProfileGroupSettingsCollection.cs
- GenerateTemporaryTargetAssembly.cs
- SubMenuStyle.cs
- LineServices.cs
- NameValueCollection.cs
- SetMemberBinder.cs
- RIPEMD160Managed.cs
- WorkflowMarkupElementEventArgs.cs
- LinearGradientBrush.cs
- RoleManagerSection.cs
- BooleanProjectedSlot.cs
- XmlHelper.cs
- Encoding.cs
- SafeCryptContextHandle.cs
- AutomationEventArgs.cs
- NTAccount.cs
- PaginationProgressEventArgs.cs
- WriterOutput.cs
- SecureStringHasher.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- EntryPointNotFoundException.cs
- PrivilegedConfigurationManager.cs
- RegexWorker.cs
- HitTestResult.cs
- TypeProvider.cs
- safemediahandle.cs
- messageonlyhwndwrapper.cs
- EntityDataSourceMemberPath.cs
- ObjectIDGenerator.cs
- GenericNameHandler.cs
- ClientUtils.cs
- OutputCacheModule.cs
- InstanceNotFoundException.cs
- ToolStripLabel.cs
- XmlResolver.cs
- DiscardableAttribute.cs
- Int32RectConverter.cs
- WmlCommandAdapter.cs
- BrowserCapabilitiesFactory35.cs
- LoginCancelEventArgs.cs
- RegexGroupCollection.cs
- BulletChrome.cs
- RealizedColumnsBlock.cs
- SHA512Managed.cs
- ToggleProviderWrapper.cs
- DecryptedHeader.cs
- VariantWrapper.cs
- AttachedPropertyBrowsableAttribute.cs
- XPathMessageContext.cs
- WebSysDisplayNameAttribute.cs
- keycontainerpermission.cs
- AssemblyName.cs
- OutOfMemoryException.cs
- AuthenticationSection.cs
- WeakReference.cs
- CodeMemberEvent.cs
- DockEditor.cs
- URLMembershipCondition.cs
- SchemaReference.cs
- TextSelection.cs
- EventProviderWriter.cs
- PolyLineSegment.cs
- TimeManager.cs
- SID.cs
- XamlClipboardData.cs
- Logging.cs
- DrawListViewItemEventArgs.cs
- DataGrid.cs
- ParameterModifier.cs
- LayoutManager.cs
- InertiaExpansionBehavior.cs
- Rotation3D.cs
- Subtree.cs
- DynamicEntity.cs
- HtmlElementErrorEventArgs.cs
- QilXmlWriter.cs
- ByteStream.cs
- DataGridViewRowHeaderCell.cs
- EndpointInstanceProvider.cs
- DurableInstanceProvider.cs
- AxDesigner.cs