Share via


EndPropertyMapping Class

Definition

Mapping metadata for End property of an association.

public class EndPropertyMapping : System.Data.Entity.Core.Mapping.PropertyMapping
type EndPropertyMapping = class
    inherit PropertyMapping
Public Class EndPropertyMapping
Inherits PropertyMapping
Inheritance
EndPropertyMapping

Examples

For Example if conceptually you could represent the CS MSL file as following --Mapping --EntityContainerMapping ( CNorthwind-->SNorthwind ) --EntitySetMapping --EntityTypeMapping --MappingFragment --EntityKey --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) --EntityTypeMapping --MappingFragment --EntityKey --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) --ComplexPropertyMap --ComplexTypeMapping --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) --ScalarProperyMap ( CMemberMetadata-->SMemberMetadata ) --DiscriminatorProperyMap ( constant value-->SMemberMetadata ) --ComplexTypeMapping --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) --ScalarProperyMap ( CMemberMetadata-->SMemberMetadata ) --DiscriminatorProperyMap ( constant value-->SMemberMetadata ) --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) --AssociationSetMapping --AssociationTypeMapping --MappingFragment --EndPropertyMap --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) --ScalarProperyMap ( CMemberMetadata-->SMemberMetadata ) --EndPropertyMap --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) This class represents the metadata for all the end property map elements in the above example. EndPropertyMaps provide mapping for each end of the association.

Constructors

EndPropertyMapping(AssociationEndMember)

Creates an association end property mapping.

Properties

AssociationEnd

Gets an AssociationEndMember that specifies the mapped association end.

Property

Gets an EdmProperty that specifies the mapped property.

(Inherited from PropertyMapping)
PropertyMappings

Gets a ReadOnlyCollection of ScalarPropertyMapping that specifies the children of this association end property mapping.

Methods

AddPropertyMapping(ScalarPropertyMapping)

Adds a child property-column mapping.

RemovePropertyMapping(ScalarPropertyMapping)

Removes a child property-column mapping.

Applies to