title: .Net Core How to Automatically generate ID when importing Data from Excel into Database?
body: <p>I am using EF core. I was able to import data from Excel into the Database. But how should I do so that when entering data, the ID will automatically increase according to the amount of data instead of having to enter it in Excel? Can you tell me about the solution?</p>
  <p>I can't find any documentation or examples about this.</p>
  <p>This is the code that I am using to Import data from Excel
  <a href="https://paste.mod.gg/segicezeqa.csharp" rel="nofollow noreferrer">Here</a></p>