Convention.Types Method
Namespace:
System.Data.Entity.ModelConfiguration.Conventions
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | Types() | Begins configuration of a lightweight convention that applies to all mapped types in the model. |
![]() | Types<T>() | Begins configuration of a lightweight convention that applies to all mapped types in the model that derive from or implement the specified type. |
Convention.Types Method ()
Begins configuration of a lightweight convention that applies to all mapped types in the model.
Return Value
Type: System.Data.Entity.ModelConfiguration.Configuration.TypeConventionConfigurationA configuration object for the convention.
Convention.Types<T> Method ()
Begins configuration of a lightweight convention that applies to all mapped types in the model that derive from or implement the specified type.
This method does not add new types to the model.