ConventionModelExtensions.RemoveEntityType メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
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
定義するエンティティ型。
戻り値
削除されたエンティティの種類。
適用対象
Entity Framework
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示