jhipster / jhipster-net-sample-app-template

JHipster.NET sample application
50 stars 18 forks source link

ManyToMany entities management #5

Closed danielpetisme closed 5 years ago

danielpetisme commented 5 years ago

The current version of the Entity Framework Core does not support a Many To Many relation with an implicit (technical) join table. This table must be an explicit entity.

Let's take the example of the Operation and Label entity. Thanks to Spring Data a Java Dev can simply define a collection of Labels in the Operation entity and a collection of Operations in the Label one. All the data piping is handle by the framework. With Entity Framework Core, an explicit OperationLabel entity must be declared. This constraints force JHipster.Net to :

jdubois commented 5 years ago

Adding a $100 bug bounty here as this is very important and very hard!