LinqPad to VFP does not offer SaveChanges()
My code
... byt there is not SaveChanges() available in ctx.
var ctx = new DC.PLUCZ.PLUCZ(@Provider=VFPOLEDB; Data Source= v:\data\plucz\plucz.dbc;Password='';Collating Sequence=MACHINE);
// ctx.Numbers.Dump();
var nums = ctx.Numbers.OrderBy(n=>n.Num_Key).FirstOrDefault(n => n.Num_Key.Trim() == "OG");
nums.Num_Number ++;
Comments