Page 1 of 1
Update on "boolean" not working when using SubmitChanges()
Posted: Mon 31 Aug 2009 13:25
by drichter
When i update the a boolean value of my table/entity, it's not commited to the DB when calling SubmitChanges()...
Generally the update is working because all other updated fields are commited correctly...
Whats wrong here?
Posted: Fri 04 Sep 2009 10:05
by Shalex
I have tried the following code with the 4.55.39 version of dotConnect for PostgreSQL.
Code: Select all
DataContext1.DataContext1 ctx = new DataContext1.DataContext1();
var query = from a in ctx.Booleantables
where a.Integercolumn == 1
select a;
Booleantable row = query.First();
row.Booleancolumn = true; //false ->true
ctx.SubmitChanges();
The update works. Please update to the 4.55.39 version.
Posted: Fri 04 Sep 2009 10:09
by drichter
Actually, i found out that these fields are also "auto generated values", like i mentioned in this topic:
http://www.devart.com/forums/viewtopic. ... 58aa8da7d5
so, this is the actual problem here..
Thanks.