共用方式為


ConventionSetBuilder.Remove 方法

定義

多載

Remove(Type)

移除指定型別的慣例。

Remove<TImplementaion>()

移除指定型別的慣例。

Remove(Type)

移除指定型別的慣例。

public virtual void Remove (Type conventionType);
abstract member Remove : Type -> unit
override this.Remove : Type -> unit
Public Overridable Sub Remove (conventionType As Type)

參數

conventionType
Type

要移除的慣例類型。

適用於

Remove<TImplementaion>()

移除指定型別的慣例。

public virtual void Remove<TImplementaion> () where TImplementaion : Microsoft.EntityFrameworkCore.Metadata.Conventions.IConvention;
abstract member Remove : unit -> unit (requires 'Implementaion :> Microsoft.EntityFrameworkCore.Metadata.Conventions.IConvention)
override this.Remove : unit -> unit (requires 'Implementaion :> Microsoft.EntityFrameworkCore.Metadata.Conventions.IConvention)
Public Overridable Sub Remove(Of TImplementaion As IConvention) ()

類型參數

TImplementaion

要移除的慣例類型

適用於