다음을 통해 공유


ConventionsConfiguration.Remove 메서드

정의

오버로드

Remove(IConvention[])

에 대해 DbModelBuilder하나 이상의 규칙을 사용하지 않도록 설정합니다.

Remove<TConvention>()

에 대한 DbModelBuilder규칙을 사용하지 않도록 설정합니다. 제거할 수 있는 기본 규칙은 System.Data.Entity.ModelConfiguration.Conventions 네임스페이스에서 찾을 수 있습니다.

Remove(IConvention[])

에 대해 DbModelBuilder하나 이상의 규칙을 사용하지 않도록 설정합니다.

public void Remove(params System.Data.Entity.ModelConfiguration.Conventions.IConvention[] conventions);
member this.Remove : System.Data.Entity.ModelConfiguration.Conventions.IConvention[] -> unit
Public Sub Remove (ParamArray conventions As IConvention())

매개 변수

conventions
IConvention[]

사용하지 않도록 설정할 규칙입니다.

적용 대상

Remove<TConvention>()

에 대한 DbModelBuilder규칙을 사용하지 않도록 설정합니다. 제거할 수 있는 기본 규칙은 System.Data.Entity.ModelConfiguration.Conventions 네임스페이스에서 찾을 수 있습니다.

public void Remove<TConvention>() where TConvention : System.Data.Entity.ModelConfiguration.Conventions.IConvention;
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1004:GenericMethodsShouldProvideTypeParameter")]
public void Remove<TConvention>() where TConvention : System.Data.Entity.ModelConfiguration.Conventions.IConvention;
member this.Remove : unit -> unit (requires 'Convention :> System.Data.Entity.ModelConfiguration.Conventions.IConvention)
Public Sub Remove(Of TConvention As IConvention) ()

형식 매개 변수

TConvention

사용하지 않을 규칙의 형식입니다.

특성

적용 대상