title: Partial Class with Virtual Properties?
body: <p>Is it possible to have virtual properties within a partial class? In my scenario, we have auto-generated classes that are used by our Micro-ORM and map exactly to our database tables. </p>
  
  <p>We often wish to extend these classes, however, so using <code>partial</code> keyword is absolutely fine in this case. </p>
  
  <p>I have a situation, though, whereby I want to override the auto generated getter in a partial class.</p>
  
  <p>eg:</p>
  
  <pre><code>public partial class MyClass {
     public int MyProperty{ get; set; }
  }
  </code></pre>
  
  <p>.. I'd like to override the <code>get</code> and implement some custom logic <strong>without</strong> manipulating the auto-generated code. This is vital.</p>
  
  <p>Thanks.</p>