Update to SQL
Options
I have this so far:
var results = (from bl in A_Bellows_Lots
where bl.Bellows_Lot_ID == 3078
orderby bl.Bellows_Lot_ID
select bl).First();
results.Dump();
results.Release = 9;
????.SubmitChanges();
To what do I submit the changes in Linqpad. Normally it would be the db connection, but I don't have one here?
Thanks,
Bernie
var results = (from bl in A_Bellows_Lots
where bl.Bellows_Lot_ID == 3078
orderby bl.Bellows_Lot_ID
select bl).First();
results.Dump();
results.Release = 9;
????.SubmitChanges();
To what do I submit the changes in Linqpad. Normally it would be the db connection, but I don't have one here?
Thanks,
Bernie
Comments
-
When you have a data context In LINQPad, you're *subclassing* the data context.
So just call SubmitChanges(), or this.SubmitChanges(). -
Thanks. I'm taking the 30 day challenge and running into the silly little things, hahaha.