Closed gregoryagu closed 6 years ago
Well, I got this working by removing the private set.
public DateTimeOffset Updated { get; set; }
In the example it shows:
public DateTimeOffset Updated { get; private set; }
You might want to update the docs.
Oddly, it did not give an error, it just failed to save it.
I have a core project set up just like the sample.
The trigger fires and sets the
Updated
field with the current date/time.But it doesn't get persisted to the database.
I don't see what I am doing wrong.