[Mono-list] Inserting primary key with npgsql.commandbuilder

Andrus kobruleht2 at hot.ee
Tue Dec 26 09:00:10 EST 2006


I have primary key which can be inserted by my MONO application or if not 
present it will be generated by PostgreSQL sequence which is set by field 
default value.

I noticed that insert command generated by

npgsql.commandbuilder does not contain primary key field even when new row 
contains primary key field value.

How to insert primary key using  npgsql.commandbuilder ?

Andrus



More information about the Mono-list mailing list