次の方法で共有


IConventionModel.RemoveEntityType メソッド

定義

オーバーロード

RemoveEntityType(IConventionEntityType)

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

RemoveEntityType(String)

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

RemoveEntityType(Type)

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

RemoveEntityType(String, String, IConventionEntityType)

ナビゲーション名と定義エンティティ型を定義して、指定された型を持つエンティティ型を削除します。

RemoveEntityType(Type, String, IConventionEntityType)

ナビゲーション名と定義エンティティ型を定義して、指定された型を持つエンティティ型を削除します。

RemoveEntityType(IConventionEntityType)

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

public void RemoveEntityType (Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType);
public Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType RemoveEntityType (Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType);
public Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType? RemoveEntityType (Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType);
abstract member RemoveEntityType : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> unit
abstract member RemoveEntityType : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType
Public Sub RemoveEntityType (entityType As IConventionEntityType)
Public Function RemoveEntityType (entityType As IConventionEntityType) As IConventionEntityType

パラメーター

entityType
IConventionEntityType

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

戻り値

削除されたエンティティ型。エンティティ null 型が見つからなかった場合は 。

適用対象

RemoveEntityType(String)

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

public Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType? RemoveEntityType (string name);
abstract member RemoveEntityType : string -> Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType
Public Function RemoveEntityType (name As String) As IConventionEntityType

パラメーター

name
String

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

戻り値

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

適用対象

RemoveEntityType(Type)

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

public Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType? RemoveEntityType (Type type);
abstract member RemoveEntityType : Type -> Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType
Public Function RemoveEntityType (type As Type) As IConventionEntityType

パラメーター

type
Type

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

戻り値

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

適用対象

RemoveEntityType(String, String, IConventionEntityType)

ナビゲーション名と定義エンティティ型を定義して、指定された型を持つエンティティ型を削除します。

public Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType? RemoveEntityType (string name, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType definingEntityType);
abstract member RemoveEntityType : string * string * Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType
Public Function RemoveEntityType (name As String, definingNavigationName As String, definingEntityType As IConventionEntityType) As IConventionEntityType

パラメーター

name
String

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

definingNavigationName
String

ナビゲーションの定義。

definingEntityType
IConventionEntityType

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

戻り値

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

適用対象

RemoveEntityType(Type, String, IConventionEntityType)

ナビゲーション名と定義エンティティ型を定義して、指定された型を持つエンティティ型を削除します。

public Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType? RemoveEntityType (Type type, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType definingEntityType);
abstract member RemoveEntityType : Type * string * Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType -> Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType
Public Function RemoveEntityType (type As Type, definingNavigationName As String, definingEntityType As IConventionEntityType) As IConventionEntityType

パラメーター

type
Type

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

definingNavigationName
String

ナビゲーションの定義。

definingEntityType
IConventionEntityType

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

戻り値

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

適用対象