I have been using Entity Framework after a couple of years, and now I have a little problem.
I add an object to my table,
Entities.dbContext.MyTable.Add(obj1);
and here is normal.
Then I would like to make a request in MyTable, for example
Entities.dbContext.MyTable.Where(.....)
The above code will query my MyTable in db.
Is there a way to request the value just added before saveChanges ? (obj1) How?
UPDATE
Why do I need it? Since for each new element I add, I need to edit some values in the previous and next records (there is a datetime field in this table)
UPDATE2
, , saveChanges . , , datetime . . : , , , "Obj1", , , . ?