ConventionsConfiguration.Remove<TConvention> Method

Entity Framework 5.0

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.

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

public void Remove<TConvention>()
where TConvention : IConvention

Type Parameters

TConvention

The type of the convention to be disabled.

Show: