ConventionsConfiguration.Remove Method

 

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

NameDescription
System_CAPS_pubmethodRemove(IConvention[])

Disables one or more conventions for the DbModelBuilder.

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

public void Remove(
	params IConvention[] conventions
)

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.

[SuppressMessageAttribute("Microsoft.Design", "CA1004:GenericMethodsShouldProvideTypeParameter")]
public void Remove<TConvention>()
where TConvention : IConvention

Type Parameters

TConvention

The type of the convention to be disabled.