SaveAynsc and await

SaveAynsc and await

Old forum URL:

DanielS posted on Thursday, August 15, 2013

We are currently saving our  CSLA object with SaveAsync using the following syntax:

Model = await Model.SaveAsync();

I am getting an error with Object marked busy cannot be saved. It seems to be busy with validation. 

Our thought is to override save async to look at isbusy if isbusy then it needs to listen for the event for validation complete, then call base.saveasync - but wondering if there's a better alternative.


DanielS replied on Thursday, August 15, 2013

We just discovered the issue is not validation - but the ApplyEdit is making the Object Busy...

Is this a bug?

Copyright (c) Marimer LLC