ConventionEntityTypeExtensions.FindProperties Methode

Definition

Sucht übereinstimmende 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.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)

Parameter

entityType
IConventionEntityType

Der Entitätstyp.

propertyNames
IReadOnlyList<String>

Die Eigenschaftennamen.

Gibt zurück

Die Eigenschaften, oder null , wenn keine Eigenschaft gefunden wird.

Gilt für: