Export (0) Print
Expand All

ComplexTypeConfiguration<TComplexType> Class

Entity Framework 5.0

Allows configuration to be performed for an complex type in a model. A ComplexTypeConfiguration can be obtained by using the ComplexType<TComplexType>()method on or a custom type derived from ComplexTypeConfiguration<TComplexType> can be registered by using the property Configurations.

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

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

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

Type Parameters

TComplexType

The complex type to be configured.

The ComplexTypeConfiguration<TComplexType> type exposes the following members.

  NameDescription
Public methodComplexTypeConfiguration<TComplexType> Initializes a new instance of ComplexTypeConfiguration<TComplexType>.
Top

  NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object. This method is hidden from IntelliSense. (Overrides StructuralTypeConfiguration<TStructuralType>.Equals(Object).)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. This method is hidden from IntelliSense. (Overrides StructuralTypeConfiguration<TStructuralType>.GetHashCode().)
Public methodGetTypeGets the type of the current instance. This method is hidden from IntelliSense.
Public methodIgnore<TProperty> Excludes a property from the model so that it will not be mapped to the database. (Inherited from StructuralTypeConfiguration<TStructuralType>.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodProperty<T>(Expression<Func<TStructuralType, T>>) Configures a struct property that is defined on this type. (Inherited from StructuralTypeConfiguration<TStructuralType>.)
Public methodToStringReturns a string that represents the current object. This method is hidden from IntelliSense. (Overrides StructuralTypeConfiguration<TStructuralType>.ToString().)
Top

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