Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / DataEntity / System / Data / Mapping / StoragePropertyMapping.cs / 1305376 / StoragePropertyMapping.cs
//----------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// @owner [....]
// @backupOwner [....]
//---------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
using System.Data.Metadata.Edm;
namespace System.Data.Mapping {
///
/// Mapping metadata for all types of property mappings.
///
///
/// For Example if conceptually you could represent the CS MSL file as following
/// --Mapping
/// --EntityContainerMapping ( CNorthwind-->SNorthwind )
/// --EntitySetMapping
/// --EntityTypeMapping
/// --TableMappingFragment
/// --EntityKey
/// --ScalarPropertyMap
/// --ScalarPropertyMap
/// --EntityTypeMapping
/// --TableMappingFragment
/// --EntityKey
/// --ScalarPropertyMap
/// --ComplexPropertyMap
/// --ScalarPropertyMap
/// --ScalarProperyMap
/// --ScalarPropertyMap
/// --AssociationSetMapping
/// --AssociationTypeMapping
/// --TableMappingFragment
/// --EndPropertyMap
/// --ScalarPropertyMap
/// --ScalarProperyMap
/// --EndPropertyMap
/// --ScalarPropertyMap
/// --EntityContainerMapping ( CMyDatabase-->SMyDatabase )
/// --CompositionSetMapping
/// --CompositionTypeMapping
/// --TableMappingFragment
/// --ParentEntityKey
/// --ScalarPropertyMap
/// --ScalarPropertyMap
/// --EntityKey
/// --ScalarPropertyMap
/// --ScalarPropertyMap
/// --ComplexPropertyMap
/// --ScalarPropertyMap
/// --ScalarProperyMap
/// --ScalarPropertyMap
/// This class represents the metadata for all property map elements in the
/// above example. This includes the scalar property maps, complex property maps
/// and end property maps.
///
internal abstract class StoragePropertyMapping {
#region Constructors
///
/// Construct a new EdmProperty mapping object
///
/// The PropertyMetadata object that represents the member for which mapping is being specified
internal StoragePropertyMapping(EdmProperty cdmMember) {
this.m_cdmMember = cdmMember;
}
#endregion
#region Fields
EdmProperty m_cdmMember; //EdmProperty metadata representing the Cdm member for which the mapping is specified
#endregion
#region Properties
///
/// The PropertyMetadata object that represents the member for which mapping is being specified
///
internal virtual EdmProperty EdmProperty
{
get {
return this.m_cdmMember;
}
}
#endregion
#region Methods
///
/// This method is primarily for debugging purposes.
/// Will be removed shortly.
///
///
internal virtual void Print(int index) {
}
#endregion
}
}
// 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
- ConfigurationCollectionAttribute.cs
- HostProtectionException.cs
- CommandSet.cs
- CodeParameterDeclarationExpressionCollection.cs
- BinaryFormatterWriter.cs
- SmtpReplyReaderFactory.cs
- cookieexception.cs
- XmlSerializationWriter.cs
- DataObjectAttribute.cs
- DatagridviewDisplayedBandsData.cs
- XappLauncher.cs
- TypeValidationEventArgs.cs
- CompilerParameters.cs
- ListParaClient.cs
- DeviceContext.cs
- X509PeerCertificateAuthentication.cs
- Latin1Encoding.cs
- TextClipboardData.cs
- IconBitmapDecoder.cs
- AspNetSynchronizationContext.cs
- AuthenticationService.cs
- VisualStyleTypesAndProperties.cs
- ElementInit.cs
- EntityWrapperFactory.cs
- SchemaNamespaceManager.cs
- RenameRuleObjectDialog.Designer.cs
- FixUpCollection.cs
- GenericAuthenticationEventArgs.cs
- ParentUndoUnit.cs
- OracleBoolean.cs
- ProtocolsSection.cs
- ClockGroup.cs
- UmAlQuraCalendar.cs
- SinglePageViewer.cs
- ObjectKeyFrameCollection.cs
- XmlTextWriter.cs
- ListViewAutomationPeer.cs
- HttpCookieCollection.cs
- TableFieldsEditor.cs
- ISFTagAndGuidCache.cs
- BindingContext.cs
- SHA1Managed.cs
- EnumerableRowCollectionExtensions.cs
- ExpressionBindingCollection.cs
- ToolStripPanelCell.cs
- EventData.cs
- PageCatalogPart.cs
- BooleanConverter.cs
- Switch.cs
- HandoffBehavior.cs
- Cursor.cs
- COAUTHIDENTITY.cs
- StylusPointProperty.cs
- GradientBrush.cs
- XmlWellformedWriterHelpers.cs
- XmlEntityReference.cs
- SelectionRangeConverter.cs
- HttpResponseInternalBase.cs
- Ticks.cs
- TextTreeUndo.cs
- HttpInputStream.cs
- DelayedRegex.cs
- FilterableAttribute.cs
- MethodBuilderInstantiation.cs
- TextEditorMouse.cs
- RolePrincipal.cs
- VBIdentifierDesigner.xaml.cs
- SecurityChannel.cs
- SinglePageViewer.cs
- AnimatedTypeHelpers.cs
- DebugView.cs
- DaylightTime.cs
- SortedSetDebugView.cs
- HostedTransportConfigurationManager.cs
- GradientStopCollection.cs
- LicenseManager.cs
- Win32.cs
- RegexInterpreter.cs
- DataGridCellsPanel.cs
- ApplicationManager.cs
- CodeExporter.cs
- ExtendedProtectionPolicyTypeConverter.cs
- HttpResponse.cs
- WindowsListViewItem.cs
- printdlgexmarshaler.cs
- PositiveTimeSpanValidator.cs
- SqlParameterCollection.cs
- XD.cs
- Size3DConverter.cs
- SID.cs
- MultiSelector.cs
- SiteMapNodeCollection.cs
- MailWriter.cs
- Helper.cs
- DetailsView.cs
- WebBrowserEvent.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- _NegotiateClient.cs
- SimpleBitVector32.cs
- ExpressionPrefixAttribute.cs