K
K Viltersten
I was going to perform an update of an
existing row in my table in the DB by:
Table<MyType> data = db.GetTable<MyType>();
MessageBox.Show (data.Count ());
foreach (MyType d in data) {
MessageBox.Show (d.name);
d.name = "changed";
}
db.SubmitChanges ();
and while i get the message box to present
the contents correctly, they seem not to
change ever.
An other strange thing i've noticed is
that even after i've added more rows to the
table (using the designer in VS), the
number of entries returned didn't grow. I
have the feeling that the two issues are
connected somehow.
existing row in my table in the DB by:
Table<MyType> data = db.GetTable<MyType>();
MessageBox.Show (data.Count ());
foreach (MyType d in data) {
MessageBox.Show (d.name);
d.name = "changed";
}
db.SubmitChanges ();
and while i get the message box to present
the contents correctly, they seem not to
change ever.
An other strange thing i've noticed is
that even after i've added more rows to the
table (using the designer in VS), the
number of entries returned didn't grow. I
have the feeling that the two issues are
connected somehow.
