Update Not Working

Can anyone see why this update does not update the value in the table?

var results = (from bl in a_Bellows_Lots
where bl.Job == "A2559038A"
where bl.BellowsLot == "17213A"
select bl).SingleOrDefault();

results.Quantity = 1;


  • If this.UpdateObject() exists in your data context, then call it your results object before calling SubmitChanges.

    Note: Usually UpdateObject() exists in EF data contexts.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!