我正在执行InserAsync,SQL查询返回生成的Id,但实体的整数标识列为零。
为什么不更新标识列?它在插入时有效,但在插入异步时无效。这就是生活...
我使用了不带异步的插入并从该方法返回Task.FromResult(0);
。
轰,那会学到他们。
我正在执行InserAsync,SQL查询返回生成的Id,但实体的整数标识列为零。
为什么不更新标识列?它在插入时有效,但在插入异步时无效。这就是生活...
我使用了不带异步的插入并从该方法返回Task.FromResult(0);
。
轰,那会学到他们。
javascript python java c# php android html jquery c++ css ios sql mysql arrays asp.net json python-3.x ruby-on-rails .net sql-server django objective-c excel regex ruby linux ajax iphone xml vba spring asp.net-mvc database wordpress string postgresql wpf windows xcode bash git oracle list vb.net multithreading eclipse algorithm macos powershell visual-studio image forms numpy scala function api selenium