AssociationTypeMapping Class

Definition

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
AssociationTypeMapping

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