ScalarPropertyMapping Class

Definition

Mapping metadata for scalar properties.

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

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 --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) --ScalarProperyMap ( CMemberMetadata-->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 scalar property map elements in the above example.

Constructors

ScalarPropertyMapping(EdmProperty, EdmProperty)

Creates a mapping between a simple property and a column.

Properties

Column

Gets an EdmProperty that specifies the mapped column.

Property

Gets an EdmProperty that specifies the mapped property.

(Inherited from PropertyMapping)

Applies to