次の方法で共有


EntityTypeExtensions.FindDeclaredProperty(IEntityType, String) メソッド

定義

指定した名前を持つ型で宣言されたプロパティを検索します。 基本型で定義されたプロパティは返しません。

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

パラメーター

entityType
IEntityType

エンティティの型。

name
String

プロパティ名。

戻り値

プロパティ。または null 、何も見つからない場合は 。

適用対象