ConventionEntityTypeExtensions.FindDeclaredProperty メソッド

定義

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

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

パラメーター

entityType
IConventionEntityType

エンティティの型。

name
String

プロパティ名。

戻り値

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

適用対象