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
- COSERVERINFO.cs
- HttpCacheVaryByContentEncodings.cs
- ManagementOptions.cs
- RangeBaseAutomationPeer.cs
- StickyNote.cs
- XmlILOptimizerVisitor.cs
- Binding.cs
- MDIClient.cs
- SplashScreen.cs
- XmlMembersMapping.cs
- EncoderParameter.cs
- FillRuleValidation.cs
- LabelTarget.cs
- WizardDesigner.cs
- MbpInfo.cs
- ProcessThread.cs
- SqlClientMetaDataCollectionNames.cs
- ConsoleTraceListener.cs
- SizeConverter.cs
- HtmlShim.cs
- TableLayoutSettingsTypeConverter.cs
- Rule.cs
- ReversePositionQuery.cs
- listitem.cs
- IfAction.cs
- QueryStringHandler.cs
- ClientOptions.cs
- Renderer.cs
- StrokeNodeData.cs
- XmlSignatureManifest.cs
- HttpChannelHelpers.cs
- PointUtil.cs
- DataPagerField.cs
- PackageRelationshipCollection.cs
- Vector3DIndependentAnimationStorage.cs
- HMACRIPEMD160.cs
- BinaryParser.cs
- WindowsGraphics.cs
- ServiceOperationInvoker.cs
- HttpException.cs
- bindurihelper.cs
- XmlRootAttribute.cs
- ActivationArguments.cs
- UIElement.cs
- TypeHelpers.cs
- PropertyPath.cs
- AppDomain.cs
- XmlSchemaType.cs
- RecognizedWordUnit.cs
- SoundPlayerAction.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- StaticFileHandler.cs
- Bold.cs
- GridEntryCollection.cs
- PenThreadPool.cs
- IconEditor.cs
- Decorator.cs
- CacheChildrenQuery.cs
- ProviderConnectionPointCollection.cs
- ColorAnimationUsingKeyFrames.cs
- JpegBitmapDecoder.cs
- RtType.cs
- ToolStripGripRenderEventArgs.cs
- Region.cs
- NameValueSectionHandler.cs
- RepeaterDataBoundAdapter.cs
- BreadCrumbTextConverter.cs
- ItemMap.cs
- DrawItemEvent.cs
- NetSectionGroup.cs
- LayoutEvent.cs
- MenuItemBinding.cs
- IBuiltInEvidence.cs
- DataList.cs
- CounterCreationDataConverter.cs
- SID.cs
- ProfileSettings.cs
- SerialErrors.cs
- RichTextBoxAutomationPeer.cs
- GeometryModel3D.cs
- RemotingServices.cs
- DataSourceControl.cs
- SynchronizedChannelCollection.cs
- ViewUtilities.cs
- RowCache.cs
- TemplatePartAttribute.cs
- ContainerFilterService.cs
- Viewport3DAutomationPeer.cs
- LocalizabilityAttribute.cs
- CodeComment.cs
- shaperfactoryquerycachekey.cs
- DataSourceHelper.cs
- LoginView.cs
- PolicyManager.cs
- EmptyReadOnlyDictionaryInternal.cs
- DynamicAttribute.cs
- XmlChildEnumerator.cs
- BitmapMetadata.cs
- XAMLParseException.cs
- DataGridColumnCollection.cs