IReadOnlyEntityType.GetSeedData(Boolean) 方法

定义

获取存储在模型中的给定实体类型的数据。

public System.Collections.Generic.IEnumerable<System.Collections.Generic.IDictionary<string,object?>> GetSeedData (bool providerValues = false);
abstract member GetSeedData : bool -> seq<System.Collections.Generic.IDictionary<string, obj>>
Public Function GetSeedData (Optional providerValues As Boolean = false) As IEnumerable(Of IDictionary(Of String, Object))

参数

providerValues
Boolean

如果 true 为具有值转换器的属性返回提供程序值。

返回

数据。

适用于