次の方法で共有


ConventionModelExtensions.RemoveEntityType メソッド

定義

オーバーロード

RemoveEntityType(IConventionModel, String)

モデルからナビゲーションを定義せずにエンティティ型を削除します。

RemoveEntityType(IConventionModel, Type)

モデルからエンティティ型を削除します。

RemoveEntityType(IConventionModel, String, String, IConventionEntityType)

定義ナビゲーションを持つエンティティ型をモデルから削除します。

RemoveEntityType(IConventionModel, Type, String, IConventionEntityType)

定義ナビゲーションを持つエンティティ型をモデルから削除します。

RemoveEntityType(IConventionModel, String)

モデルからナビゲーションを定義せずにエンティティ型を削除します。

public static Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType RemoveEntityType (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, string name);
static member RemoveEntityType : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * string -> Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType
<Extension()>
Public Function RemoveEntityType (model As IConventionModel, name As String) As IConventionEntityType

パラメーター

model
IConventionModel

エンティティ型を削除するモデル。

name
String

削除するエンティティ型の名前。

戻り値

削除されたエンティティの種類。

適用対象

RemoveEntityType(IConventionModel, Type)

モデルからエンティティ型を削除します。

public static Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType RemoveEntityType (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, Type type);
static member RemoveEntityType : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * Type -> Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType
<Extension()>
Public Function RemoveEntityType (model As IConventionModel, type As Type) As IConventionEntityType

パラメーター

model
IConventionModel

エンティティ型を削除するモデル。

type
Type

削除するエンティティの種類。

戻り値

削除されたエンティティの種類。

適用対象

RemoveEntityType(IConventionModel, String, String, IConventionEntityType)

定義ナビゲーションを持つエンティティ型をモデルから削除します。

public static Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType RemoveEntityType (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, string name, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType definingEntityType);
static member RemoveEntityType : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * string * string * Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType
<Extension()>
Public Function RemoveEntityType (model As IConventionModel, name As String, definingNavigationName As String, definingEntityType As IConventionEntityType) As IConventionEntityType

パラメーター

model
IConventionModel

エンティティ型を削除するモデル。

name
String

削除するエンティティ型の名前。

definingNavigationName
String

ナビゲーションの定義。

definingEntityType
IConventionEntityType

定義するエンティティ型。

戻り値

削除されたエンティティの種類。

適用対象

RemoveEntityType(IConventionModel, Type, String, IConventionEntityType)

定義ナビゲーションを持つエンティティ型をモデルから削除します。

public static Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType RemoveEntityType (this Microsoft.EntityFrameworkCore.Metadata.IConventionModel model, Type type, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType definingEntityType);
static member RemoveEntityType : Microsoft.EntityFrameworkCore.Metadata.IConventionModel * Type * string * Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType
<Extension()>
Public Function RemoveEntityType (model As IConventionModel, type As Type, definingNavigationName As String, definingEntityType As IConventionEntityType) As IConventionEntityType

パラメーター

model
IConventionModel

エンティティ型を削除するモデル。

type
Type

このエンティティ型のインスタンスを表すために使用される CLR クラス。

definingNavigationName
String

ナビゲーションの定義。

definingEntityType
IConventionEntityType

定義するエンティティ型。

戻り値

削除されたエンティティの種類。

適用対象