CSLA .NET

Vibrant discussion about CSLA .NET and using the framework to build great business applications.

Forum has moved

New location: CSLA .NET forum


CSLA .NET Resources:
  • CSLA .NET forum
  • CSLA .NET home page
  • SaveAynsc and await

    rated by 0 users
    Not Answered This post has 0 verified answers | 1 Reply | 0 Followers

    Not Ranked
    3 Posts
    DanielS posted on Thu, Aug 15 2013 10:20 AM

    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.

    Thanks!

    All Replies

    Not Ranked
    3 Posts

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

    Is this a bug?

    Page 1 of 1 (2 items) | RSS

    Copyright (c) 2006-2014 Marimer LLC. All rights reserved.
    Email admin@lhotka.net for support.
    Powered by Community Server (Non-Commercial Edition), by Telligent Systems