Aracılığıyla paylaş


EntityTypeExtensions.FindProperties Yöntem

Tanım

Verilen varlık türünde eşleşen özellikleri bulur. Herhangi bir özellik bulunamazsa döndürür null .

Bu API yalnızca skaler özellikleri bulur ve gezinti özelliklerini bulmaz.

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)

Parametreler

entityType
IEntityType

Varlık türü.

propertyNames
IReadOnlyList<String>

Özellik adları.

Döndürülenler

Özellikler veya null herhangi bir özellik bulunamaz.

Şunlara uygulanır