Compartir a través de


EntityTypeExtensions.GetSeedData(IEntityType, Boolean) Método

Definición

Obtiene los datos almacenados en el modelo para el tipo de entidad especificado.

public static System.Collections.Generic.IEnumerable<System.Collections.Generic.IDictionary<string,object>> GetSeedData (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType, bool providerValues = false);
static member GetSeedData : Microsoft.EntityFrameworkCore.Metadata.IEntityType * bool -> seq<System.Collections.Generic.IDictionary<string, obj>>
<Extension()>
Public Function GetSeedData (entityType As IEntityType, Optional providerValues As Boolean = false) As IEnumerable(Of IDictionary(Of String, Object))

Parámetros

entityType
IEntityType

El tipo de entidad.

providerValues
Boolean

Si es true, se usan los valores de proveedor.

Devoluciones

Los datos.

Se aplica a