我希望能够根据社会数字是否正确输入数据。我总是收到错误消息SqlException: Cannot insert explicit value for identity column in table 'Customers' when IDENTITY_INSERT is set to OFF.。我尝试向数据库发出sql命令,并将标识设置为ON,但仍然得到相同的错误。我能做我想做的事吗?public class AddAmount : IAddAmount private readonly ApplicationDbContext _db;