ConventionEntityTypeExtensions.FindProperties メソッド

定義

指定したエンティティ型の一致するプロパティを検索します。 nullプロパティが見つからない場合は を返します。

この API はスカラー プロパティのみを検索し、ナビゲーション プロパティは見つかりません。

public static System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty> FindProperties (this Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType entityType, System.Collections.Generic.IReadOnlyList<string> propertyNames);
static member FindProperties : Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType * System.Collections.Generic.IReadOnlyList<string> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IConventionProperty>
<Extension()>
Public Function FindProperties (entityType As IConventionEntityType, propertyNames As IReadOnlyList(Of String)) As IReadOnlyList(Of IConventionProperty)

パラメーター

entityType
IConventionEntityType

エンティティの型。

propertyNames
IReadOnlyList<String>

プロパティ名。

戻り値

プロパティ。プロパティ null が見つからない場合は 。

適用対象