title: EF Code First Readonly column
body: <p>I am using EF Code first with database first approach. 
  "with  Database.SetInitializer(null);"</p>
  
  <p>My table has two columns createddate and amendddate. They are managed by SQL Server using triggers. The idea is that when data entry happens then these columns gets data via triggers.</p>
  
  <p>Now What I want to do is to make this read only from EF Code first point of view. I.e. I want to be able to see the createddate and ameneded dates from my app but I dont want to amend these data. </p>
  
  <p>I have tried using private modifiers on setter but no luck.When I try to add new data to the table it tried to enter DateTime.Max date to the database which throws error from SQL server.</p>
  
  <p>Any idea?</p>