title: Best practice for archiving an entity in EF code first
body: <p>I'm trying to archiving an entity of a table. There are couple of ways to do this. One of them is to create IsArchived column and set it to true when an entity is deleted or put into history. One of the disadvantage of this design will make specified table so heavy.</p>
  
  <p>Another way to do this is to create the duplication of the class of specified entity to be logged, make another table, and adding it to log table with the help of AutoMapper. In this case i need lots of duplicate classes of entities which needed to be archived.</p>
  
  <p>Is there any other solutions for archiving specified entities?</p>