ComplexTypeConfiguration<TComplexType> Class

 

Allows configuration to be performed for an complex type in a model. A ComplexTypeConfiguration can be obtained via the ComplexType method on DbModelBuilder or a custom type derived from ComplexTypeConfiguration can be registered via the Configurations property on DbModelBuilder.

Namespace:   System.Data.Entity.ModelConfiguration
Assembly:  EntityFramework (in EntityFramework.dll)

System.Object
  System.Data.Entity.ModelConfiguration.Configuration.StructuralTypeConfiguration<TStructuralType>
    System.Data.Entity.ModelConfiguration.ComplexTypeConfiguration<TComplexType>

public class ComplexTypeConfiguration<TComplexType> : StructuralTypeConfiguration<TComplexType>
where TComplexType : class

Type Parameters

TComplexType

The complex type to be configured.

NameDescription
System_CAPS_pubmethodComplexTypeConfiguration<TComplexType>()

Initializes a new instance of ComplexTypeConfiguration

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Overrides StructuralTypeConfiguration<TStructuralType>.Equals(Object).)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as a hash function for a particular type.(Overrides StructuralTypeConfiguration<TStructuralType>.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the type of the current instance.

System_CAPS_pubmethodIgnore<TProperty>(Expression<Func<TComplexType, TProperty>>)

Excludes a property from the model so that it will not be mapped to the database.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodProperty<T>(Expression<Func<TStructuralType, T>>)

Configures a T:System.struct property that is defined on this type.(Inherited from StructuralTypeConfiguration<TStructuralType>.)

System_CAPS_pubmethodProperty<T>(Expression<Func<TStructuralType, T>>)

Configures a T:System.struct property that is defined on this type.(Inherited from StructuralTypeConfiguration<TStructuralType>.)

System_CAPS_pubmethodProperty<T>(Expression<Func<TStructuralType, T>>)

Configures a T:System.struct property that is defined on this type.(Inherited from StructuralTypeConfiguration<TStructuralType>.)

System_CAPS_pubmethodProperty<T>(Expression<Func<TStructuralType, T>>)

Configures a T:System.struct property that is defined on this type.(Inherited from StructuralTypeConfiguration<TStructuralType>.)

System_CAPS_pubmethodProperty<T>(Expression<Func<TStructuralType, T>>)

Configures a T:System.struct property that is defined on this type.(Inherited from StructuralTypeConfiguration<TStructuralType>.)

System_CAPS_pubmethodProperty<T>(Expression<Func<TStructuralType, T>>)

Configures a T:System.struct property that is defined on this type.(Inherited from StructuralTypeConfiguration<TStructuralType>.)

System_CAPS_pubmethodProperty<T>(Expression<Func<TStructuralType, T>>)

Configures a T:System.struct property that is defined on this type.(Inherited from StructuralTypeConfiguration<TStructuralType>.)

System_CAPS_pubmethodProperty<T>(Expression<Func<TStructuralType, T>>)

Configures a T:System.struct property that is defined on this type.(Inherited from StructuralTypeConfiguration<TStructuralType>.)

System_CAPS_pubmethodProperty<T>(Expression<Func<TStructuralType, T>>)

Configures a T:System.struct property that is defined on this type.(Inherited from StructuralTypeConfiguration<TStructuralType>.)

System_CAPS_pubmethodProperty<T>(Expression<Func<TStructuralType, T>>)

Configures a T:System.struct property that is defined on this type.(Inherited from StructuralTypeConfiguration<TStructuralType>.)

System_CAPS_pubmethodProperty<T>(Expression<Func<TStructuralType, T>>)

Configures a T:System.struct property that is defined on this type.(Inherited from StructuralTypeConfiguration<TStructuralType>.)

System_CAPS_pubmethodProperty<T>(Expression<Func<TStructuralType, T>>)

Configures a T:System.struct property that is defined on this type.(Inherited from StructuralTypeConfiguration<TStructuralType>.)

System_CAPS_pubmethodProperty<T>(Expression<Func<TStructuralType, T>>)

Configures a T:System.struct property that is defined on this type.(Inherited from StructuralTypeConfiguration<TStructuralType>.)

System_CAPS_pubmethodProperty<T>(Expression<Func<TStructuralType, T>>)

Configures a T:System.struct property that is defined on this type.(Inherited from StructuralTypeConfiguration<TStructuralType>.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Overrides StructuralTypeConfiguration<TStructuralType>.ToString().)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.