ConventionsConfiguration.Add Method
Namespace:
System.Data.Entity.ModelConfiguration.Configuration
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | Add(IConvention[]) | Enables one or more conventions for the DbModelBuilder. |
![]() | Add<TConvention>() | Enables a convention for the DbModelBuilder. |
ConventionsConfiguration.Add Method (IConvention[])
Enables one or more conventions for the DbModelBuilder.
Parameters
- conventions
-
Type:
System.Data.Entity.ModelConfiguration.Conventions.IConvention[]
The conventions to be enabled.