IConventionEntityType.RemoveProperty メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
RemoveProperty(IReadOnlyProperty) |
このエンティティ型からプロパティを削除します。 |
RemoveProperty(String) |
このエンティティ型からプロパティを削除します。 |
RemoveProperty(IConventionProperty) |
このエンティティ型からプロパティを削除します。 |
RemoveProperty(IReadOnlyProperty)
このエンティティ型からプロパティを削除します。
public Microsoft.EntityFrameworkCore.Metadata.IConventionProperty? RemoveProperty (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);
abstract member RemoveProperty : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> Microsoft.EntityFrameworkCore.Metadata.IConventionProperty
Public Function RemoveProperty (property As IReadOnlyProperty) As IConventionProperty
パラメーター
- property
- IReadOnlyProperty
削除するプロパティ。
戻り値
削除されたプロパティ。プロパティ null
が見つからなかった場合は 。
適用対象
RemoveProperty(String)
このエンティティ型からプロパティを削除します。
public Microsoft.EntityFrameworkCore.Metadata.IConventionProperty? RemoveProperty (string name);
abstract member RemoveProperty : string -> Microsoft.EntityFrameworkCore.Metadata.IConventionProperty
Public Function RemoveProperty (name As String) As IConventionProperty
パラメーター
- name
- String
削除するプロパティの名前。
戻り値
削除されたプロパティ。
適用対象
RemoveProperty(IConventionProperty)
このエンティティ型からプロパティを削除します。
public void RemoveProperty (Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property);
public Microsoft.EntityFrameworkCore.Metadata.IConventionProperty RemoveProperty (Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property);
abstract member RemoveProperty : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty -> unit
abstract member RemoveProperty : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty -> Microsoft.EntityFrameworkCore.Metadata.IConventionProperty
Public Sub RemoveProperty (property As IConventionProperty)
Public Function RemoveProperty (property As IConventionProperty) As IConventionProperty
パラメーター
- property
- IConventionProperty
削除するプロパティ。
戻り値
削除されたプロパティ。
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Entity Framework