EF: inserting into table with only serial pk column - bug
Posted: Fri 26 Sep 2008 07:08
I try to create entity. It contain only key and stores in database table, which contain only serial primary key column. SQL, which has been generated for inserting this entity: "INSERT INTO contact() VALUES();". It raises pgsql-error.
SQL, that provider must generate: "INSERT INTO contact(id_contact) VALUES(DEFAULT);".
SQL, that provider must generate: "INSERT INTO contact(id_contact) VALUES(DEFAULT);".