A
Andrus
I retrieve rows and change one retrieved row like
var l = ((from b in Db.Klients
order by b.Kood
select b).Skip(10).Take(5)).ToList();
l[0].Nimi="xxx";
I need to save this table changes only (actually only single row is
changed). I
tried
MTable<Klient> tbl = Db.GetTable<Klient>();
tbl.SaveAll();
and found that it does not save change since Db.GetTable<Klient>() returns
new object and
tbl.SaveAll() saves only this object.
How to fix ?
Andrus.
var l = ((from b in Db.Klients
order by b.Kood
select b).Skip(10).Take(5)).ToList();
l[0].Nimi="xxx";
I need to save this table changes only (actually only single row is
changed). I
tried
MTable<Klient> tbl = Db.GetTable<Klient>();
tbl.SaveAll();
and found that it does not save change since Db.GetTable<Klient>() returns
new object and
tbl.SaveAll() saves only this object.
How to fix ?
Andrus.