Condividi tramite


MutableEntityTypeExtensions.FindProperties Metodo

Definizione

Trova le proprietà corrispondenti nel tipo di entità specificato. Restituisce null se non viene trovata alcuna proprietà.

Questa API trova solo proprietà scalari e non trova le proprietà di spostamento.

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)

Parametri

entityType
IMutableEntityType

Tipo di entità.

propertyNames
IReadOnlyList<String>

Nomi di proprietà.

Restituisce

Proprietà o null se non viene trovata alcuna proprietà.

Si applica a