igor-tkachev/bltoolkit — pull request #311 by Firebie (2014-05-14 13:33:00+00:00)
Title: Fix 'InsertBatch'

```sql
create table test
(
id int not null identity(1, 1),
data nvarchar(50),
constraint pk_test primary key(id)
)
```
```cs
public class Test
{
[PrimaryKey, NonUpdatable, Identity]
public int id;
public string data;
}

using (var db = new DbManager())
{
var testlist = new List();

db.BeginTransaction();

testlist.Add(new Test { data = "1" });
testlist.Add(new Test { data = "2" });

db.InsertBatch(testlist);

db.CommitTransaction();
}
```