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