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
- ObjectDataSourceDisposingEventArgs.cs
- XmlBinaryReader.cs
- AttachedAnnotation.cs
- PackageDigitalSignature.cs
- SHA512Managed.cs
- Byte.cs
- BitmapEffectDrawingContextState.cs
- BufferBuilder.cs
- TransactionScope.cs
- BinaryCommonClasses.cs
- PaginationProgressEventArgs.cs
- FileDialogCustomPlacesCollection.cs
- WebCategoryAttribute.cs
- UserControl.cs
- TailPinnedEventArgs.cs
- ProcessHost.cs
- UnsafeNativeMethodsPenimc.cs
- DataGridViewCellMouseEventArgs.cs
- SourceElementsCollection.cs
- PageContentCollection.cs
- DynamicUpdateCommand.cs
- DataGridDesigner.cs
- WindowsTreeView.cs
- DataGridCell.cs
- FileSystemInfo.cs
- WebBaseEventKeyComparer.cs
- OLEDB_Util.cs
- DeferredReference.cs
- ImageInfo.cs
- EntityCommandExecutionException.cs
- ToolStripSystemRenderer.cs
- TextReader.cs
- HwndSourceParameters.cs
- StylusEventArgs.cs
- EventSourceCreationData.cs
- DummyDataSource.cs
- NameTable.cs
- ReachSerializableProperties.cs
- SqlClientFactory.cs
- UInt16.cs
- WorkflowElementDialogWindow.xaml.cs
- ToolTipService.cs
- diagnosticsswitches.cs
- mediaclock.cs
- EntityDataSourceContainerNameConverter.cs
- NumberSubstitution.cs
- PnrpPermission.cs
- Point.cs
- DataGridViewRowHeaderCell.cs
- SchemaInfo.cs
- ActiveXMessageFormatter.cs
- SiteMapDesignerDataSourceView.cs
- AnnotationComponentChooser.cs
- XsltInput.cs
- PropertyGridEditorPart.cs
- BuildManager.cs
- SettingsPropertyValue.cs
- ColorMatrix.cs
- FamilyCollection.cs
- RuntimeEnvironment.cs
- ScrollProperties.cs
- SystemBrushes.cs
- MasterPageBuildProvider.cs
- WhereaboutsReader.cs
- Object.cs
- HttpWebRequest.cs
- InfoCardAsymmetricCrypto.cs
- TreeNodeStyleCollection.cs
- CollectionChangedEventManager.cs
- DesignOnlyAttribute.cs
- ManipulationBoundaryFeedbackEventArgs.cs
- OptimalTextSource.cs
- EntityReference.cs
- BooleanStorage.cs
- FixUpCollection.cs
- OleDbStruct.cs
- SqlCacheDependency.cs
- BidOverLoads.cs
- DataViewListener.cs
- SafeCryptContextHandle.cs
- X509Certificate.cs
- Number.cs
- ConnectionPoint.cs
- PropertyNames.cs
- RegexTree.cs
- Package.cs
- SHA256Managed.cs
- OdbcHandle.cs
- TargetInvocationException.cs
- ReadOnlyCollection.cs
- Clock.cs
- AttributeCallbackBuilder.cs
- Wow64ConfigurationLoader.cs
- UseLicense.cs
- ReverseQueryOperator.cs
- Semaphore.cs
- ApplicationHost.cs
- UnsafeNativeMethods.cs
- CommentEmitter.cs
- OdbcCommandBuilder.cs