4 ms·
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
by smithkl42 1y ago
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.