tareqimbasher / NetPad

A cross-platform C# editor and playground.
MIT License
1.37k stars 68 forks source link

Pluralized table names #267

Closed faahiero closed 1 month ago

faahiero commented 1 month ago

The problem mentioned in issue #215 was solved. Now I can connect and visualize the database table structure correctly. But all tables are pluralized. I think it's because the DbSet properties (DbSet<Author> Program.Authors { get;}), but it would be nice, or more accurate, if the tables had the names they received when the database was created.

E.g.: image

image

tareqimbasher commented 1 month ago

Pluralization does indeed come from the default behavior of EF pluralizing DbSets, but if you prefer them singular you can change that in the connection properties window.

Also as a side note, hovering over a table will show it's actual name.

faahiero commented 1 month ago

I get it! Found the option. Closing Issue!

image