MutableEntityTypeExtensions.FindProperties Methode

Definition

Sucht nach übereinstimmenden Eigenschaften für den angegebenen Entitätstyp. Gibt zurück null , wenn keine Eigenschaft gefunden wird.

Diese API findet nur skalare Eigenschaften und keine Navigationseigenschaften.

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)

Parameter

entityType
IMutableEntityType

Der Entitätstyp.

propertyNames
IReadOnlyList<String>

Die Eigenschaftennamen.

Gibt zurück

Die Eigenschaften oder null , wenn keine Eigenschaft gefunden wird.

Gilt für: