0

I have a property for my inventorynumbers and I want to auto increment it (LiteDB, asp.net Core 3.1 razor pages) the property is a string! Is that possible???

serdar
  • 23
  • 3
  • How do you want increment String _id? By int number? There is no AutoId support for String because there is no rule for that – mbdavid Feb 12 '20 at 19:49
  • Solved! I split my string “xyz - 113” and parse it to int... and then just lncrement the int – serdar Feb 12 '20 at 21:00

0 Answers0