IReadOnlyEntityType.GetSeedData(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the data stored in the model for the given entity type.
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))
Parameters
- providerValues
- Boolean
If true
then provider values are returned for properties with value converters.
Returns
The data.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework