ConventionsConfiguration.Remove Method
Namespace:
System.Data.Entity.ModelConfiguration.Configuration
Assembly: EntityFramework (in EntityFramework.dll)
Name | Description | |
---|---|---|
![]() | Remove(IConvention[]) | Disables one or more conventions for the DbModelBuilder. |
![]() | Remove<TConvention>() | Disables a convention for the DbModelBuilder. The default conventions that are available for removal can be found in the System.Data.Entity.ModelConfiguration.Conventions namespace. |
ConventionsConfiguration.Remove Method (IConvention[])
Disables one or more conventions for the DbModelBuilder.
Parameters
- conventions
-
Type:
System.Data.Entity.ModelConfiguration.Conventions.IConvention[]
The conventions to be disabled.
ConventionsConfiguration.Remove<TConvention> Method ()
Disables a convention for the DbModelBuilder. The default conventions that are available for removal can be found in the System.Data.Entity.ModelConfiguration.Conventions namespace.