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
  • Business Rule that modifies property and validates?

    rated by 0 users
    Answered (Verified) This post has 1 verified answer | 1 Reply | 0 Followers

    Top 10 Contributor
    4,106 Posts
    Andy posted on Fri, Oct 3 2014 2:19 PM

    I have a need for a business rule that changes the value of a property, while at the same time validates a second property.  The rules I've written so far have either changed or validated but not both, so I'm not sure if Csla will handle this correctly.  Would a rule that modifies one property and add an error result to another (the primary property) function as expected, or is this against how the framework is designed?

    Answered (Verified) Verified Answer

    Top 10 Contributor
    2,279 Posts
    Verified by Andy


    This will work fine if you are using CSLA 4.3 or newer.

    Jonny Bekkum, Norway CslaContrib Coordinator

    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