Rename ConcurrencyToken to Concurrency
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user