Auto increment primary key in mocked db context

前端 未结 0 560
难免孤独
难免孤独 2021-02-14 05:14

Does anyone know how can I have auto increment primary keys in my mocked db context? I am unit testing the a method and when I want to add two items to my mocked db context and

相关标签:
回答
  • 消灭零回复
提交回复
热议问题