DbModelBuilder.ComplexType<TComplexType> Method ()
Registers a type as a complex type in the model and returns an object that can be used to configure the complex type. This method can be called multiple times for the same type to perform multiple lines of configuration.
Assembly: EntityFramework (in EntityFramework.dll)
public virtual ComplexTypeConfiguration<TComplexType> ComplexType<TComplexType>() where TComplexType : class
Return Value
Type: System.Data.Entity.ModelConfiguration.ComplexTypeConfiguration<TComplexType>The configuration object for the specified complex type.
Type Parameters
- TComplexType
The type to be registered or configured.