Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DbModelBuilder::Types Method

Entity Framework 6.0
 

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

NameDescription
System_CAPS_pubmethodTypes()

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

System_CAPS_pubmethodTypes<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.

Return to top

DbModelBuilder::Types Method ()

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

public:
TypeConventionConfiguration^ Types()

Return Value

Type: System.Data.Entity.ModelConfiguration.Configuration::TypeConventionConfiguration^

A configuration object for the convention.

Return to top

DbModelBuilder::Types<T> Method ()

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:
generic<typename T>
where T : ref class
TypeConventionConfiguration<T>^ Types()

Return Value

Type: System.Data.Entity.ModelConfiguration.Configuration::TypeConventionConfiguration<T>^

A configuration object for the convention.

Type Parameters

T

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

Return to top
Show: