MutableModelExtensions.RemoveIgnored(IMutableModel, Type) 方法

定义

删除忽略的实体类型。

public static void RemoveIgnored (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, Type type);
public static string RemoveIgnored (this Microsoft.EntityFrameworkCore.Metadata.IMutableModel model, Type type);
static member RemoveIgnored : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * Type -> unit
static member RemoveIgnored : Microsoft.EntityFrameworkCore.Metadata.IMutableModel * Type -> string
<Extension()>
Public Sub RemoveIgnored (model As IMutableModel, type As Type)
<Extension()>
Public Function RemoveIgnored (model As IMutableModel, type As Type) As String

参数

model
IMutableModel

要从中删除忽略的实体类型的模型。

type
Type

要删除的忽略实体类型。

返回

已删除的忽略类型的名称。

适用于