I'm trying to track changes of an object\table StoneUserInput
. A StoneUserInputhas
a foreign key to another object\table named Cut
.
When I change Cut: stoneUserInput.Cut = "A"
I'm receiving an indication that Cut entity has changed.
But what I need, is an Indication that changes has been made on StoneUserInput
.
To retrieve changes I'm using the following code:
var modified = DB.ObjectStateManager.GetObjectStateEntries(EntityState.Modified)
Here modified holds the Cut
entity type.
Any thoughts or any ideas please?
StoneUserInput
|Navigation Property: CutGradesSet|