ComplexTypeMapping Class

Definition

Mapping metadata for Complex Types.

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

Constructors

ComplexTypeMapping(ComplexType)

Creates a ComplexTypeMapping instance.

Properties

ComplexType

Gets the ComplexType being mapped.

Conditions

Gets a read-only collection of property mapping conditions.

PropertyMappings

Gets a read-only collection of property mappings.

Methods

AddCondition(ConditionPropertyMapping)

Adds a property mapping condition.

AddPropertyMapping(PropertyMapping)

Adds a property mapping.

RemoveCondition(ConditionPropertyMapping)

Removes a property mapping condition.

RemovePropertyMapping(PropertyMapping)

Removes a property mapping.

Applies to