次の方法で共有


EntityTypeExtensions.FindProperties メソッド

定義

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

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

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

パラメーター

entityType
IEntityType

エンティティの型。

propertyNames
IReadOnlyList<String>

プロパティ名。

戻り値

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

適用対象