Share via


ConditionPropertyMapping Class

Definition

Mapping metadata for Conditional property mapping on a type. Condition Property Mapping specifies a Condition either on the C side property or S side property.

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

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 ) --ConditionProperyMap ( constant value-->SMemberMetadata ) --EntityTypeMapping --MappingFragment --EntityKey --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) --ComplexPropertyMap --ComplexTypeMap --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) --ScalarProperyMap ( CMemberMetadata-->SMemberMetadata ) --ConditionProperyMap ( constant value-->SMemberMetadata ) --AssociationSetMapping --AssociationTypeMapping --MappingFragment --EndPropertyMap --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) --ScalarProperyMap ( CMemberMetadata-->SMemberMetadata ) --EndPropertyMap --ScalarPropertyMap ( CMemberMetadata-->SMemberMetadata ) This class represents the metadata for all the condition property map elements in the above example.

Properties

Column

Gets an EdmProperty that specifies the mapped column.

Property

Gets an EdmProperty that specifies the mapped property.

Applies to