Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In C#-land, we just have it as a standard that ~every table inherits from `ITrackable`, and we wrote a little EF plugin to automatically update the appropriate columns.

public interface ITrackable { DateTime CreatedOn {get; set;} DateTime ModifiedOn {get; set;} }

Saves so much time and hassle.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: