title: How do I configure fixed length columns in EF Core?
body: <p>In the previous EF, I could do this:</p>
  
  <pre><code>  entityTypeBuilder
      .Property(b =&gt; b.Foo)
      .IsRequired()
      .HasMaxLength(10)
      .IsFixedLength();
  </code></pre>
  
  <p>That would generate a migration with something like</p>
  
  <pre><code>Foo = c.String(nullable: false, maxLength: 10, fixedLength: true)
  </code></pre>
  
  <p>However in EF Core there is no <code>IsFixedLength()</code>.</p>
  
  <p>Is there some other way of doing this?</p>