Share via


EntityTypeExtensions.GetSeedData(IEntityType, Boolean) メソッド

定義

指定したエンティティ型のモデルに格納されているデータを取得します。

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

パラメーター

entityType
IEntityType

エンティティの型。

providerValues
Boolean

true の場合、プロバイダー値が使用されます。

戻り値

データ。

適用対象