title: Initialize a property in Entity Framework that already has a constructor
body: <p>Is there ANY way to initialize a property in an Entity Framework entity that has a collection?</p>
  
  <p>This is the generated code for an Entity that has a collection:</p>
  
  <pre><code>public partial class MyEntity
  {
      public MyEntity()
      {
         this.MySubEntities = new HashSet&lt;MySubEntity&gt;();
      }
  
      public bool IsActive {get; set;}
      public virtual ICollection&lt;MySubEntity&gt; MySubEntities {get; set;}
  }
  </code></pre>
  
  <p>If I need to make a new <code>MyEntity</code> that I want to default to <code>IsActive = true</code>, it cannot be done!  (Unless I edit the T4 template.)</p>
  
  <p><strong>Please tell me there is a way to default <code>IsActive = True</code> without editing the generated file (or the T4).</strong></p>
  
  <p>Note: I have AutoMapper making the entity for me, so <code>new MyEntity {IsActive = true}</code> will not work.</p>