KorzhCom / EasyData

Adaptive CRUD for ASP.NET Core. With EasyData you can get both API endpoints and client-side UI for all CRUD operations in a matter of minutes using just your DbContext and a few lines of code.
MIT License
594 stars 63 forks source link

Ooops, something went wrong #110

Closed Alerinos closed 2 years ago

Alerinos commented 2 years ago

Sorry, my bad...

antifree commented 2 years ago

So the problem is that you trying to add an entity with a duplicated unique index. It is mean that in your database GameId in Culture could not be duplicated between entities. This problem is not related to EasyData

Alerinos commented 2 years ago

@antifree Actually, I'm sorry. But this is still a slight problem because if it delete:

public Game? Game { get; set; }

At this point, I will not have a relationship with EasyData. Will try notmapped again