google-code-export / dblinq2007

Automatically exported from code.google.com/p/dblinq2007
Other
0 stars 0 forks source link

Postgresql: standalone ColumnAttribute IsDbGenerated is not working on insert #294

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
If I have the following property:

[Column(Name = "set_on", IsDbGenerated=true, Storage = "m_setOn")]
public DateTime SetOn
{ get { return m_setOn; } set { m_setOn = value; } }

The insert statement will be incorrect. This autogenerated column will not be 
retrived in the select part of the insert statement.
I would expect that this column will be listed in the select part. I'm using 
dblinq 0.20.1 on Windows 7.

Original issue reported on code.google.com by i...@matthias-jentsch.de on 20 Nov 2010 at 7:58