EntityTypeExtensions.GetSeedData(IEntityType, Boolean) Method

Definition

Gets the data stored in the model for the given entity type.

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

Parameters

entityType
IEntityType

The entity type.

providerValues
Boolean

If true, then provider values are used.

Returns

The data.

Applies to