1

How to tell Fluent API auto-increment to start with more than 5 digits key generation?

I mean .ValueGeneratedOnAdd(); will start with 1 but I want start with 50000 and then auto-increment

Ivan Stoev
  • 195,425
  • 15
  • 312
  • 343
regestea23
  • 456
  • 6
  • 19
  • 1
    Does [this](https://stackoverflow.com/questions/34927619/how-to-set-identity-seed-value-in-code-first) help ? – Gordon Khanh Ng. Oct 03 '21 at 11:36
  • 1
    Use [this answer](https://stackoverflow.com/a/64101019/5202563) from the post marked as duplicate instead of the accepted which is outdated. – Ivan Stoev Oct 03 '21 at 11:53

0 Answers0