This commit is contained in:
454313500@qq.com
2021-04-16 19:21:56 +08:00
parent 577c131163
commit 7e73d35bd2
5 changed files with 68 additions and 28 deletions

View File

@@ -18,7 +18,7 @@ namespace CC.Yi.DALFactory
try
{
// Attempt to save changes to the database
context.SaveChangesAsync();
context.SaveChanges();
saved = true;
}
catch (DbUpdateConcurrencyException ex)