Rename ConcurrencyToken to Concurrency

This commit is contained in:
2020-05-13 19:54:41 +00:00
parent 6a9984720d
commit 539d590ce8
96 changed files with 144 additions and 144 deletions

View File

@@ -226,7 +226,7 @@ namespace AyaNova.Biz
dbObj.Display = inObj.NewText;
//Set "original" value of concurrency token to input token
//this will allow EF to check it out
ct.Entry(dbObj).OriginalValues["ConcurrencyToken"] = inObj.ConcurrencyToken;
ct.Entry(dbObj).OriginalValues["Concurrency"] = inObj.Concurrency;
//Only thing to validate is if it has data at all in it
if (string.IsNullOrWhiteSpace(inObj.NewText))
@@ -265,7 +265,7 @@ namespace AyaNova.Biz
//Set "original" value of concurrency token to input token
//this will allow EF to check it out
ct.Entry(titem).OriginalValues["ConcurrencyToken"] = tit.ConcurrencyToken;
ct.Entry(titem).OriginalValues["Concurrency"] = tit.Concurrency;
//Only thing to validate is if it has data at all in it
if (string.IsNullOrWhiteSpace(tit.NewText))
@@ -294,7 +294,7 @@ namespace AyaNova.Biz
//Set "original" value of concurrency token to input token
//this will allow EF to check it out
ct.Entry(dbObj).OriginalValues["ConcurrencyToken"] = inObj.ConcurrencyToken;
ct.Entry(dbObj).OriginalValues["Concurrency"] = inObj.Concurrency;
await ValidateAsync(dbObj.Name, false);