title: How can I override the properties in partial class?
body: <p>I am developing a MVC application, I have used EF 4.0 while developing it. I have created the classes from the model. Now, I want to add more class for each class made by MVC.</p>
  
  <p>ex. In below code, I get the class Location. <strong>Now, I want to create one more class(Partial class) How can I override properties in partial class ?</strong></p>
  
  <p>How to do that ? </p>
  
  <pre><code>namespace Entities
  {
     public partial class Location
     {               
         public int Id { get; set; }
  
         public string Name { get; set; }
         public string Remark { get; set; }      
         public string State { get; set; }       
         public string Region { get; set; }
         public string PinCode { get; set; }
  
         public virtual ICollection&lt;Comment&gt; Comments { get; set; }
     }    
  }
  </code></pre>