Share via


MutableModelExtensions.RemoveOwned(IMutableModel, Type) メソッド

定義

特定の所有型を削除します。検出された一致するエンティティ型を所有型として構成しないことを示します。

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

パラメーター

model
IMutableModel

所有されている型名を削除するモデル。

clrTypetype
Type

所有すべきではないエンティティ型の型。

戻り値

削除された所有型の名前。

適用対象