title: Entity Framework 6 code first: setting unicode to false for string properties
body: <p>In my model i have some entities decorated with StringLength attribute:</p>
  
  <pre><code>[StringLength(128)]    
  public string FirstName { get; set; }
  </code></pre>
  
  <p>Also i have disable unicode for all string properties this way:</p>
  
  <pre><code>protected override void OnModelCreating(DbModelBuilder modelBuilder)
  {
      base.OnModelCreating(modelBuilder);
      modelBuilder.Properties&lt;string&gt;().Configure(p =&gt; p.IsUnicode(false));            
  }
  </code></pre>
  
  <p>The problem is that all string properties decorated with the mentioned attribute are ignoring this setting when generating the database schema, producing nvarchar datatype for the corresponding database columns. 
  What is the correct way to disable unicode in this cases? </p>