Aracılığıyla paylaş


MutableEntityTypeExtensions.FindProperties Yöntem

Tanım

Verilen varlık türündeki 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.IMutableProperty> FindProperties (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, System.Collections.Generic.IReadOnlyList<string> propertyNames);
static member FindProperties : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * System.Collections.Generic.IReadOnlyList<string> -> System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IMutableProperty>
<Extension()>
Public Function FindProperties (entityType As IMutableEntityType, propertyNames As IReadOnlyList(Of String)) As IReadOnlyList(Of IMutableProperty)

Parametreler

entityType
IMutableEntityType

Varlık türü.

propertyNames
IReadOnlyList<String>

Özellik adları.

Döndürülenler

Özellikler veya null herhangi bir özellik bulunamazsa.

Şunlara uygulanır