Share via


ConventionEntityTypeExtensions.RemoveProperty メソッド

定義

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

public static Microsoft.EntityFrameworkCore.Metadata.IConventionProperty RemoveProperty (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, string name);
static member RemoveProperty : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * string -> Microsoft.EntityFrameworkCore.Metadata.IConventionProperty
<Extension()>
Public Function RemoveProperty (entityType As IConventionEntityType, name As String) As IConventionProperty

パラメーター

entityType
IConventionEntityType

エンティティの型。

name
String

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

戻り値

削除されたプロパティ。

適用対象