Udostępnij przez


EntityTypeExtensions.GetSeedData(IEntityType, Boolean) Metoda

Definicja

Pobiera dane przechowywane w modelu dla danego typu jednostki.

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))

Parametry

entityType
IEntityType

Typ jednostki.

providerValues
Boolean

Jeśli jest to prawda, są używane wartości dostawcy.

Zwraca

Dane.

Dotyczy