Case insensitive name of tables and properties in Entity Framework 7
问题 I use Entity Framework 7 with Npgsql adapter. Sql generated by EF seems like SELECT "r"."Id", "r"."Name" FROM "public"."Role" AS "r" and it doesn't work in Postgres, because case-sensitive policy. To make it work i need to write create table script CREATE TABLE "Role" ( "Id" int, "Name" varchar(200) ); But it's ugly. Is there the way to make EF generate scripts without quotes or with lowercase naming style? 回答1: There's a very good reason Npgsql generates quotes everywhere - so you definitely