ConventionEntityTypeExtensions.FindProperties(IConventionEntityType, IReadOnlyList<String>) Yöntem

Tanım

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

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

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

IReadOnlyList<IConventionProperty>

Özellikler veya null herhangi bir özellik bulunamıyorsa.

Şunlara uygulanır