igor-tkachev/bltoolkit — pull request #86 by llyys (2012-04-06 20:58:08+00:00)
Title: Using sequences in PostgreSQL

This code allows to use sequences as insertions.

To enable inserts in posgresql mapping can be done like
[TableName(Owner="public", Name="testTable")]
public partial class testTable
{
[PrimaryKey(1), SequenceName("table_seq"), Identity]
public Int32 id { get; set; }
public String name { get; set; } // character varying(40)(40)
}