共用方式為


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

要移除的忽略實體類型。

傳回

已移除之忽略型別的名稱。

適用於