How do i scaffold DbContext with plural DbSet property names in as.net core EFCore 3?

.net asp.net-core entity-framework entity-framework-core

Question

How do i scaffold DbContext with plural DbSet property names in asp.net core EFCore 3 ? and where they exist more than one capital letters in a table name (e.g. AutoShipment) it generates all except the first letters lowercase (e.g. Autoshipment.cs)

1
0
4/13/2020 4:12:00 AM

Accepted Answer

If you are using Visual Studio, I recommend you use the following extension EF Core Power Tools

Among its features is generating code from an existing database and you can configure how to do reverse engineering.

More details here

enter image description here

0
4/14/2020 4:25:45 AM


Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow