❔ Entity framework core Fluent API
Hi all.
I'm trying to add a migration but I get an error because EF Core can't bound constructor parameter "category" and the property "ProductCategory". I have added the required mapping in "OnModelCreating" inside my DbContext class but it doesn't seem to work. Am I missing something? I don't have any problem with other properties because their name coincide with constructor parameters.
Thank you
I'm trying to add a migration but I get an error because EF Core can't bound constructor parameter "category" and the property "ProductCategory". I have added the required mapping in "OnModelCreating" inside my DbContext class but it doesn't seem to work. Am I missing something? I don't have any problem with other properties because their name coincide with constructor parameters.
Thank you


