• 2 weeks ago
Want to use the same basic audit fields you have used before in stored procedures and triggers? We will see how MVC lets us automate the process of maintaining the data by implementing an interface and overriding SaveChanges() in our DbContext. Note that one reason this is easy to do is because we switched our Edit Post Actions to use the TryUpdateModel approach.

Remember that knowing who created a record is often useful for security restrictions.

Recommended