I have a situation where I just want to save one object. Basically I am reading a value from a table, updating up and want to write the updated value back to the table.
RdbQuery query = new RdbQuery(typeof(LocalInfo));
query.AddClause(LocalInfo.LocalIdEntityColumn, EntityQueryOp.EQ, 1);
LocalInfo = myPM.GetEntity<LocalInfo>(query);
Int32 nextId = local.NextEventNo;
local.NextEventNo = NextId + 1;
I only want to save the "local" object. LocalInfo is the information about the union local current logged into the app.
It doesn't like the myPM.SaveChanges(local).