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