EF: inserting into table with only serial pk column - bug

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for PostgreSQL
Post Reply
kulibin
Posts: 12
Joined: Thu 18 Sep 2008 06:33

EF: inserting into table with only serial pk column - bug

Post by kulibin » 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);".

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Fri 26 Sep 2008 12:54

We are investigating this situation. You will be notified on results as soon as possible.

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Thu 13 Nov 2008 13:37

This issue is fixed. Look forward to the final release of dotConnect for PostgreSql.

Post Reply