IMutableModel.RemoveEntityType メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
RemoveEntityType(String) |
モデルからナビゲーションを定義せずにエンティティ型を削除します。 |
RemoveEntityType(Type, String, IMutableEntityType) |
ナビゲーション名と定義エンティティ型を定義して、指定された型を持つエンティティ型を削除します |
RemoveEntityType(String, String, IMutableEntityType) |
ナビゲーション名と定義エンティティ型を定義して、指定された型を持つエンティティ型を削除します |
RemoveEntityType(IMutableEntityType) |
モデルからエンティティ型を削除します。 |
RemoveEntityType(Type) |
モデルからエンティティ型を削除します。 |
RemoveEntityType(String)
モデルからナビゲーションを定義せずにエンティティ型を削除します。
public Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType RemoveEntityType (string name);
public Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType? RemoveEntityType (string name);
abstract member RemoveEntityType : string -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType
Public Function RemoveEntityType (name As String) As IMutableEntityType
パラメーター
- name
- String
削除するエンティティ型の名前。
戻り値
削除されたエンティティ型。
適用対象
RemoveEntityType(Type, String, IMutableEntityType)
ナビゲーション名と定義エンティティ型を定義して、指定された型を持つエンティティ型を削除します
public Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType? RemoveEntityType (Type type, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType definingEntityType);
abstract member RemoveEntityType : Type * string * Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType
Public Function RemoveEntityType (type As Type, definingNavigationName As String, definingEntityType As IMutableEntityType) As IMutableEntityType
パラメーター
- type
- Type
このエンティティ型のインスタンスを表すために使用される CLR クラス。
- definingNavigationName
- String
定義ナビゲーション。
- definingEntityType
- IMutableEntityType
定義するエンティティ型。
戻り値
削除されたエンティティ型。
適用対象
RemoveEntityType(String, String, IMutableEntityType)
ナビゲーション名と定義エンティティ型を定義して、指定された型を持つエンティティ型を削除します
public Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType RemoveEntityType (string name, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType definingEntityType);
public Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType? RemoveEntityType (string name, string definingNavigationName, Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType definingEntityType);
abstract member RemoveEntityType : string * string * Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType
Public Function RemoveEntityType (name As String, definingNavigationName As String, definingEntityType As IMutableEntityType) As IMutableEntityType
パラメーター
- name
- String
削除するエンティティ型の名前。
- definingNavigationName
- String
定義ナビゲーション。
- definingEntityType
- IMutableEntityType
定義するエンティティ型。
戻り値
削除されたエンティティ型。
適用対象
RemoveEntityType(IMutableEntityType)
モデルからエンティティ型を削除します。
public void RemoveEntityType (Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType);
public Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType RemoveEntityType (Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType);
public Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType? RemoveEntityType (Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType);
abstract member RemoveEntityType : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> unit
abstract member RemoveEntityType : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType
Public Sub RemoveEntityType (entityType As IMutableEntityType)
Public Function RemoveEntityType (entityType As IMutableEntityType) As IMutableEntityType
パラメーター
- entityType
- IMutableEntityType
削除するエンティティ型。
戻り値
削除されたエンティティ型。エンティティ null
型が見つからなかった場合は 。
適用対象
RemoveEntityType(Type)
モデルからエンティティ型を削除します。
public Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType? RemoveEntityType (Type type);
abstract member RemoveEntityType : Type -> Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType
Public Function RemoveEntityType (type As Type) As IMutableEntityType
パラメーター
- type
- Type
削除するエンティティ型。
戻り値
削除されたエンティティ型。
適用対象
Entity Framework