Aracılığıyla paylaş


ConventionEntityTypeExtensions.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.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)

Parametreler

entityType
IConventionEntityType

Varlık türü.

propertyNames
IReadOnlyList<String>

Özellik adları.

Döndürülenler

Özellikler veya null herhangi bir özellik bulunamaz.

Şunlara uygulanır