RawSQL and auto-generated keys in EF Core 3.1

后端 未结 0 1946
南方客
南方客 2021-01-13 16:12

I have a Model with a Guid primary key. I want the Database to generate a key on insert so I added the following annotations:

    public class Employee
    {
         


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