No parameterless constructor defined for this object. No problem. IDesignTimeDbContextFactory with configurationbuilder to the rescue.
Updated: The value generation code for the DateCreated and DateModified audit fields has been removed. This is now done in the overridden version of the SaveChanges() of the DbContext derived class. The problem Defining audit fields in the primary entities of an application I am currently building is one of the requirements that I am […]