MutableModelExtensions.RemoveIgnored(IMutableModel, Type) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
删除忽略的实体类型。
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
要删除的忽略实体类型。
返回
已删除的忽略类型的名称。