DbModelBuilder.Types DbModelBuilder.Types DbModelBuilder.Types Method

Definition

Overloads

Types() Types() Types()

Begins configuration of a lightweight convention that applies to all entities and complex types in the model.

Types<T>() Types<T>() Types<T>()

Begins configuration of a lightweight convention that applies to all entities and complex types in the model that inherit from or implement the type specified by the generic argument. This method does not register types as part of the model.

Types() Types() Types()

Begins configuration of a lightweight convention that applies to all entities and complex types in the model.

public System.Data.Entity.ModelConfiguration.Configuration.TypeConventionConfiguration Types ();
member this.Types : unit -> System.Data.Entity.ModelConfiguration.Configuration.TypeConventionConfiguration
Public Function Types () As TypeConventionConfiguration

Returns

Types<T>() Types<T>() Types<T>()

Begins configuration of a lightweight convention that applies to all entities and complex types in the model that inherit from or implement the type specified by the generic argument. This method does not register types as part of the model.

public System.Data.Entity.ModelConfiguration.Configuration.TypeConventionConfiguration<T> Types<T> () where T : class;
member this.Types : unit -> System.Data.Entity.ModelConfiguration.Configuration.TypeConventionConfiguration<'T (requires 'T : null)> (requires 'T : null)
Public Function Types(Of T As Class) () As TypeConventionConfiguration(Of T)

Type Parameters

T

The type of the entities or complex types that this convention will apply to.

Returns

Applies to