dotnet / efcore

EF Core is a modern object-database mapper for .NET. It supports LINQ queries, change tracking, updates, and schema migrations.
https://docs.microsoft.com/ef/
MIT License
13.69k stars 3.17k forks source link

Add seed data support for complex types #31254

Open AndriySvyryd opened 1 year ago

AndriySvyryd commented 1 year ago

Split off from https://github.com/dotnet/efcore/issues/13947

VILLAN3LL3 commented 7 months ago

Are there any plans to implement this feature soon? Is there a workaround to be able to seed entities which contain complex properties?

99Astral99 commented 5 months ago

I hope this feature will release as soon as possible because many projects using DDD approach with ValueObject type. Also, does anyone know anything about the development of collections of complex types for EF Core?

ddjerqq commented 3 months ago

+1 on using this to seed ValueObjects in a DDD project.

Mayamii commented 2 months ago

+1 would appreciate it a lot 🙏 thank you guys!

bycem commented 1 month ago

We are excitedly waiting for this feature to be released.

GianlucaLocri commented 1 week ago

This feature would really help right now to my project. Hoping to get it in 9.0.0

roji commented 1 week ago

Everyone, please refrain from +1 comments or "hope this will come out soon" - please simply upvote (👍) the top comment to let us know you're interested in this.