0
yyfiremaple created
Hi Developers,
I'm new to asp.net zero, I tried the power tool and it seems to working fine, however, I can't find a way to create one to many relationship between entities, is it supported in the current version of power tool? If not, is there any plans to add it to the tool in the near future, and can you point me to the tutorial for how to do that manually for now, cause I can't find any.
Thanks.
1 Answer(s)
-
1
is it supported in the current version of power tool? If not, is there any plans to add it to the tool in the near future
No, it is not supported. You can track this feature request: aspnetzero/aspnet-zero-core#993
can you point me to the tutorial for how to do that manually for now, cause I can't find any.
Documentation:
- https://docs.microsoft.com/en-us/ef/core/modeling/relationships
Tutorials:
- https://www.learnentityframeworkcore.com/configuration/one-to-many-relationship-configuration
- http://www.entityframeworktutorial.net/efcore/one-to-many-conventions-entity-framework-core.aspx
- http://www.entityframeworktutorial.net/efcore/configure-one-to-many-relationship-using-fluent-api-in-ef-core.aspx