次の方法で共有


IMutableEntityType.RemoveProperty メソッド

定義

オーバーロード

RemoveProperty(String)

このエンティティ型からプロパティを削除します。

RemoveProperty(IReadOnlyProperty)

このエンティティ型からプロパティを削除します。

RemoveProperty(IMutableProperty)

このエンティティ型からプロパティを削除します。

RemoveProperty(String)

このエンティティ型からプロパティを削除します。

public Microsoft.EntityFrameworkCore.Metadata.IMutableProperty RemoveProperty (string name);
public Microsoft.EntityFrameworkCore.Metadata.IMutableProperty? RemoveProperty (string name);
abstract member RemoveProperty : string -> Microsoft.EntityFrameworkCore.Metadata.IMutableProperty
Public Function RemoveProperty (name As String) As IMutableProperty

パラメーター

name
String

削除するプロパティの名前。

戻り値

削除されたプロパティ。プロパティ null が見つからなかった場合は 。

適用対象

RemoveProperty(IReadOnlyProperty)

このエンティティ型からプロパティを削除します。

public Microsoft.EntityFrameworkCore.Metadata.IMutableProperty? RemoveProperty (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);
abstract member RemoveProperty : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> Microsoft.EntityFrameworkCore.Metadata.IMutableProperty
Public Function RemoveProperty (property As IReadOnlyProperty) As IMutableProperty

パラメーター

property
IReadOnlyProperty

削除するプロパティ。

戻り値

削除されたプロパティ。プロパティ null が見つからなかった場合は 。

適用対象

RemoveProperty(IMutableProperty)

このエンティティ型からプロパティを削除します。

public void RemoveProperty (Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property);
public Microsoft.EntityFrameworkCore.Metadata.IMutableProperty RemoveProperty (Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property);
abstract member RemoveProperty : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty -> unit
abstract member RemoveProperty : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty -> Microsoft.EntityFrameworkCore.Metadata.IMutableProperty
Public Sub RemoveProperty (property As IMutableProperty)
Public Function RemoveProperty (property As IMutableProperty) As IMutableProperty

パラメーター

property
IMutableProperty

削除するプロパティ。

戻り値

削除されたプロパティ。

適用対象