AssociationTypeMapping Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the Mapping metadata for an association type map in CS space.
public class AssociationTypeMapping : System.Data.Entity.Core.Mapping.TypeMapping
type AssociationTypeMapping = class
inherit TypeMapping
Public Class AssociationTypeMapping
Inherits TypeMapping
- Inheritance
Examples
For Example if conceptually you could represent the CS MSL file as following --Mapping --EntityContainerMapping ( CNorthwind-->SNorthwind ) --EntitySetMapping --EntityTypeMapping --MappingFragment --EntityKey --ScalarPropertyMap --ScalarPropertyMap --EntityTypeMapping --MappingFragment --EntityKey --ScalarPropertyMap --ComplexPropertyMap --ComplexTypeMap --ScalarPropertyMap --ScalarProperyMap --ScalarPropertyMap --AssociationSetMapping --AssociationTypeMapping --MappingFragment --EndPropertyMap --ScalarPropertyMap --ScalarProperyMap --EndPropertyMap --ScalarPropertyMap This class represents the metadata for all association Type map elements in the above example. Users can access the table mapping fragments under the association type mapping through this class.
Constructors
AssociationTypeMapping(AssociationSetMapping) |
Creates an AssociationTypeMapping instance. |
Properties
AssociationSetMapping |
Gets the AssociationSetMapping that contains this AssociationTypeMapping. |
AssociationType |
Gets the association type being mapped. |
MappingFragment |
Gets the single mapping fragment. |
Applies to
Entity Framework
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for