Entity Framework/SQL2008 – How to Automatically Update LastModified fields for Entities?

I know I’m a little late to the party, but I just solved this for a project I’m working on and thought I’d share my solution. First, to make the solution more re-usable, I created a base class with the timestamp properties: public class EntityBase { public DateTime? CreatedDate { get; set; } public DateTime? … Read more