This commit is contained in:
@@ -143,7 +143,7 @@ namespace AyaNova.Biz
|
|||||||
|
|
||||||
//todo: set isLocked from state
|
//todo: set isLocked from state
|
||||||
var stat=await GetCurrentWorkOrderStatusFromRelatedAsync(BizType,ret.Id);
|
var stat=await GetCurrentWorkOrderStatusFromRelatedAsync(BizType,ret.Id);
|
||||||
ret.IsLocked=stat.Locked;
|
ret.IsLockedAtServer=stat.Locked;
|
||||||
ret.IsDirty=false;
|
ret.IsDirty=false;
|
||||||
|
|
||||||
if (logTheGetEvent && ret != null)
|
if (logTheGetEvent && ret != null)
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ namespace AyaNova.Models
|
|||||||
[NotMapped]
|
[NotMapped]
|
||||||
public bool IsDirty { get; set; } = false;//never dirty coming from the server
|
public bool IsDirty { get; set; } = false;//never dirty coming from the server
|
||||||
[NotMapped]
|
[NotMapped]
|
||||||
public bool IsLocked { get; set; } = false;//not by default but state may determine it's locked
|
public bool IsLockedAtServer { get; set; } = false;//signal to client that it came from the server in a locked state
|
||||||
|
|
||||||
|
|
||||||
[NotMapped, JsonIgnore]
|
[NotMapped, JsonIgnore]
|
||||||
|
|||||||
Reference in New Issue
Block a user