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

要删除的约定类型

适用于