title: Correct syntax for generic extension method
body: <p>I want to do this:</p>
  
  <pre><code>public static void SetStringsToBeNonUnicode(this EntityTypeConfiguration&lt;T&gt; config) 
  {
  
  }
  </code></pre>
  
  <p>compiler doesn't like the &lt;T&gt; in there, what is the correct syntax for this?</p>
  
  <hr>
  
  <p>more context, EntityTypeConfiguration is an EntityFramework class, defined as </p>
  
  <pre><code>public class EntityTypeConfiguration&lt;TEntityType&gt; : StructuralTypeConfiguration&lt;TEntityType&gt; where TEntityType : class
  </code></pre>
  
  <p>This is what is causing my headache.</p>
  
  <p>What I really want to end up with is being able to do something like this when configuring dbcontext class:</p>
  
  <pre><code>public class ReceiptEntityConfiguration: EntityTypeConfiguration&lt;ReceiptEntity&gt;
  {
      public ReceiptEntityConfiguration()
      {
          ToTable("vReceipt");
          HasKey(r =&gt; r.ReceiptId);
          this.SetStringsToBeNonUnicode();  //I want to make all string fields for this entity type (ReceiptEntity in this case) to be treated as not unicode.
          ...etc etc
      }
  }
  </code></pre>
  
  <p>EF6.0 handles this with Lightweight Conventions, but I can't use the beta bits for prod.</p>