Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- SqlParameterCollection.cs
- BaseValidatorDesigner.cs
- BuildDependencySet.cs
- UInt64Converter.cs
- localization.cs
- DynamicMetaObjectBinder.cs
- ChildTable.cs
- SecureStringHasher.cs
- RegionIterator.cs
- TraceLevelHelper.cs
- WebRequestModulesSection.cs
- TableCell.cs
- TextContainerChangedEventArgs.cs
- ToolboxItemWrapper.cs
- ExpressionContext.cs
- DataService.cs
- GotoExpression.cs
- ExitEventArgs.cs
- ComAdminWrapper.cs
- WpfXamlMember.cs
- XD.cs
- ByteStreamMessageEncoder.cs
- ResourceDescriptionAttribute.cs
- WindowsStartMenu.cs
- MoveSizeWinEventHandler.cs
- PrincipalPermission.cs
- DomNameTable.cs
- activationcontext.cs
- SecurityElement.cs
- NameValuePermission.cs
- PropertyManager.cs
- XmlWriterSettings.cs
- SizeKeyFrameCollection.cs
- CssTextWriter.cs
- XPathBuilder.cs
- UnsafeNativeMethods.cs
- AttributeEmitter.cs
- PathFigureCollection.cs
- PerformanceCounterPermissionEntry.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- WebRequestModuleElement.cs
- TypeGenericEnumerableViewSchema.cs
- SymmetricAlgorithm.cs
- BuildResultCache.cs
- XmlSchemaDocumentation.cs
- ObjectReferenceStack.cs
- TransformerConfigurationWizardBase.cs
- TextContainerChangedEventArgs.cs
- VarRefManager.cs
- securitycriticaldataformultiplegetandset.cs
- SimpleApplicationHost.cs
- OleDbConnectionFactory.cs
- WebBrowserUriTypeConverter.cs
- HwndHost.cs
- XmlAttributes.cs
- FixedSchema.cs
- exports.cs
- AmbientEnvironment.cs
- InvokeProviderWrapper.cs
- XhtmlConformanceSection.cs
- EntityDataSource.cs
- CssStyleCollection.cs
- Dictionary.cs
- CodeConstructor.cs
- GridViewRow.cs
- Ipv6Element.cs
- ContextMarshalException.cs
- ApplicationActivator.cs
- _ServiceNameStore.cs
- PointLight.cs
- WebBrowserPermission.cs
- PageBreakRecord.cs
- MemberMemberBinding.cs
- CfgRule.cs
- DataTableReader.cs
- XmlSchemaInclude.cs
- UrlRoutingHandler.cs
- XpsImage.cs
- HostingEnvironmentSection.cs
- BuildDependencySet.cs
- RealizedColumnsBlock.cs
- PrintEvent.cs
- StrongNameIdentityPermission.cs
- CustomAttributeFormatException.cs
- Timer.cs
- TextMessageEncodingBindingElement.cs
- HorizontalAlignConverter.cs
- GridViewUpdateEventArgs.cs
- TableColumn.cs
- PathGradientBrush.cs
- Int64AnimationUsingKeyFrames.cs
- OracleDataReader.cs
- XmlBufferReader.cs
- DefaultPropertyAttribute.cs
- ReadingWritingEntityEventArgs.cs
- DeflateStream.cs
- XmlLoader.cs
- WebAdminConfigurationHelper.cs
- Bookmark.cs
- FileUpload.cs