Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / ndp / fx / src / DataEntity / System / Data / Mapping / StoragePropertyMapping.cs / 1 / 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. //---------------------------------------------------------------------- //// 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
- SqlRecordBuffer.cs
- ConfigurationStrings.cs
- ScrollViewer.cs
- NonNullItemCollection.cs
- ConstraintCollection.cs
- RelationshipType.cs
- MetadataItem_Static.cs
- DeclarationUpdate.cs
- SerializationObjectManager.cs
- ErrorTableItemStyle.cs
- CommandManager.cs
- PaintEvent.cs
- ToolboxComponentsCreatedEventArgs.cs
- TemplatePartAttribute.cs
- DrawingAttributeSerializer.cs
- ConfigurationElementCollection.cs
- PathGeometry.cs
- OleDbTransaction.cs
- PointKeyFrameCollection.cs
- PropertyRef.cs
- SiteMapPath.cs
- SByteConverter.cs
- AttachedProperty.cs
- ReadOnlyHierarchicalDataSource.cs
- ButtonBaseAutomationPeer.cs
- ListViewItem.cs
- HtmlImage.cs
- CompositeActivityCodeGenerator.cs
- FastPropertyAccessor.cs
- StaticContext.cs
- ConnectionManagementElementCollection.cs
- ConfigXmlCDataSection.cs
- SmtpClient.cs
- LeftCellWrapper.cs
- RegexCompilationInfo.cs
- VideoDrawing.cs
- ZipArchive.cs
- MembershipUser.cs
- PointLightBase.cs
- TextTreeInsertUndoUnit.cs
- Lasso.cs
- SemaphoreFullException.cs
- Compress.cs
- Margins.cs
- ProfileManager.cs
- CaseInsensitiveHashCodeProvider.cs
- OdbcDataAdapter.cs
- BinarySerializer.cs
- InputScopeConverter.cs
- TableLayout.cs
- UrlAuthorizationModule.cs
- Attributes.cs
- XamlSerializerUtil.cs
- Serializer.cs
- SaveFileDialogDesigner.cs
- wgx_sdk_version.cs
- AppSettingsReader.cs
- WorkflowApplicationUnloadedException.cs
- TrustManager.cs
- PingOptions.cs
- AbstractDataSvcMapFileLoader.cs
- Walker.cs
- UnsafeNetInfoNativeMethods.cs
- PropertyInformation.cs
- HostedTransportConfigurationBase.cs
- SuppressMessageAttribute.cs
- PlanCompilerUtil.cs
- RegexMatchCollection.cs
- RewritingPass.cs
- SimpleBitVector32.cs
- SystemResourceKey.cs
- GridViewRowPresenterBase.cs
- SqlClientPermission.cs
- CodeDomSerializerException.cs
- WebUtility.cs
- MultipleViewPattern.cs
- XmlChildNodes.cs
- Literal.cs
- DataGridClipboardHelper.cs
- DataSvcMapFileSerializer.cs
- ThaiBuddhistCalendar.cs
- dbdatarecord.cs
- DependencyPropertyAttribute.cs
- GregorianCalendarHelper.cs
- Point3DKeyFrameCollection.cs
- ScrollBarAutomationPeer.cs
- SingleAnimationUsingKeyFrames.cs
- EmptyStringExpandableObjectConverter.cs
- ExpanderAutomationPeer.cs
- LineBreakRecord.cs
- CharacterShapingProperties.cs
- WebBrowser.cs
- PipeException.cs
- PartialToken.cs
- HMACSHA1.cs
- SerialReceived.cs
- EntityProviderFactory.cs
- ResponseBodyWriter.cs
- InputProcessorProfilesLoader.cs
- WriteLineDesigner.xaml.cs