Condividi tramite


MutableEntityTypeExtensions.GetDeclaredServiceProperties Metodo

Definizione

Ottiene tutte le proprietà del servizio dichiarate nell'oggetto specificato IMutableEntityType.

Questo metodo non restituisce proprietà dichiarate sui tipi di base. È utile quando si esegue l'iterazione su tutti i tipi di entità per evitare di elaborare più volte la stessa proprietà. Usare GetServiceProperties() anche per restituire proprietà dichiarate sui tipi di base.

public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IMutableServiceProperty> GetDeclaredServiceProperties (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType);
static member GetDeclaredServiceProperties : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType -> seq<Microsoft.EntityFrameworkCore.Metadata.IMutableServiceProperty>
<Extension()>
Public Function GetDeclaredServiceProperties (entityType As IMutableEntityType) As IEnumerable(Of IMutableServiceProperty)

Parametri

entityType
IMutableEntityType

Tipo di entità.

Restituisce

Proprietà del servizio dichiarate.

Si applica a