title: Configuring UseIdentityColumn in EF Core 2.0
body: <p>I am porting an application written in .NET Core 3.0 to .NET Core 2.0. 
  Below is the code that works with .NET Core 3.0</p>
  
  <pre><code>public class ArtistConfiguration : IEntityTypeConfiguration&lt;Artist&gt;
  {
      public void Configure(EntityTypeBuilder&lt;Artist&gt; builder)
      {
          builder
              .HasKey(a =&gt; a.Id);
  
          builder
              .Property(m =&gt; m.Id)
              .UseIdentityColumn();
  
          builder
              .Property(m =&gt; m.Name)
              .IsRequired()
              .HasMaxLength(50);
  
          builder
              .ToTable("Artists");
      }
  }
  </code></pre>
  
  <p>I am getting an error at UseIdentityColumn -</p>
  
  <p>Severity    Code    Description Project File    Line    Suppression State
  Error   CS1061  'PropertyBuilder' does not contain a definition for 'UseIdentityColumn' and no accessible extension method 'UseIdentityColumn' accepting a first argument of type 'PropertyBuilder' could be found (are you missing a using directive or an assembly reference?)  MyMusic.Data</p>
  
  <p>Is there a different configuration to achieve this for .NET Core 2.0?</p>
  
  <p>some answers suggest using UseSqlServerIdentityColumn, however, this does not work for me. </p>