Tag: automatic history
-
EF,automatic history of table and T4 files (TT files)
Usually the data of the tables should be tracking for who modified it. Think about inserting/updating/deleting an employee : you must know who did those actions and when. So you create another table,identically as structure,and you add another 3 fields,such as [ModifiedDate](when),[ModifiedBy](who),[ModifiedType] (what : insert,update,delete). There are several methods to do it : from database…