https://msdn.microsoft.com/en-us/data/j ... 2147217396
I'm getting an error with the following line of code that there is no definition for Entry.
Code: Select all
db.Entry(job).State = EntityState.Modified;
Error 1 'PieceCounter.Data.PieceCounterDataContext' does not contain a definition for 'Entry' and no extension method 'Entry' accepting a first argument of type 'PieceCounter.Data.PieceCounterDataContext' could be found (are you missing a using directive or an assembly reference?)