title: Decimal field format in ASP.NETCore model
body: <p>In SQL Server I have a primary key of a Table declared as follow :</p>
  
  <pre><code>[CustomerID] [numeric](18, 0) IDENTITY(1000000,1) NOT NULL,
  </code></pre>
  
  <p>In ASP.NET Core 2.2 model i mapped this field ad follow :</p>
  
  <pre><code>public decimal CustomerId { get; set; }
  </code></pre>
  
  <p>How can I make the decimal digits not appear in the application?</p>