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
  • Browse Forum Posts by Tags

    Showing related tags and posts for the CSLA .NET discussion forum. See all tags in the site
    • Chained Rules & RuleContextModes

      Hi Jonny, I have been playing with your recent business rule changes (CanRunAsAffectedProperty etc) and noticed different behavior if a rule is run as an inner rule. The standard way of running inner rules, within a gateway rule, bypasses any checks on the RuleContext.ExecuteContext if (MyCondition)...
      Posted to CSLA .NET discussion (Forum) by Peran on Thu, Dec 22 2011
    • DataPortal.Create<T> not calling CheckRules

      I understood that when calling DataPortal.Create<T>(), the object returned will have already had BusinessRules.CheckRules() called on it. I have my class T with business rules defining that certain fields are required. Yet the object returned by the DataPortal.Create<T>() method has IsValid...
      Posted to CSLA .NET discussion (Forum) by shawndewet on Wed, Dec 14 2011
    • Advice on how to define business rule

      I have a class that has, inter alia, 7 bool properties. Each bool property represents a day of the week. It indicates whether or not that day of the week has been selected, eg, MondayChecked, TuesdayChecked, etc. In the UI, each day is reprsented by a checkbox. The business rule I need to apply is that...
      Posted to CSLA .NET discussion (Forum) by shawndewet on Tue, Dec 13 2011
    • Rules triggering other rules

      I have a business object set up with properties AAA, BBB, CCC and DDD. I wanted to blank the latter properties if early ones get changed. This means if BBB changes, AAA will be left alone and CCC and DDD will be set to nothing. I have set up a rule so that if AAA changes it sets BBB to Nothing, another...
      Posted to CSLA .NET discussion (Forum) by Daniel Morey on Tue, Dec 13 2011
    • Documenting Business logic

      I have to add a new module to a complex .Net web application written in C#. It is used in a case management system and the module manages cases that are even more complex than the existing application. One of the weaknesses of the existing system is that the business logic can only be seen in the code...
      Posted to CSLA .NET discussion (Forum) by kevinsky on Sat, Nov 26 2011
    • Re: Dynamic Validation Rules Based On Property Value

      [quote user=" stefan cop"] Rules are per design per type and not per instance. So you cannot add rules to one instance but not to another. [/quote] Actually Csla 3.8.3 does support per instance rules. My situation is a little bit different in that it would be every instance that has a property...
      Posted to CSLA .NET discussion (Forum) by Matthew Copeland on Wed, Nov 16 2011
    • How would you create an authorization rule for a property based on another field?

      I have two properties on my business object, Name and IsSystemDefined. IsSystemDefined is already set in the database ... no way for the business object to change it, but it needs to know about it. If the business object has IsSystemDefined = true, I want to add an authorization rule to prevent the user...
      Posted to CSLA .NET discussion (Forum) by mattruma on Fri, Nov 11 2011
    • Problem with MethodInfo

      Hi everybody, in a SL4 Project using CSLA 4.1 I have a BusinessBase class containing 2 Methods: public void doWork(EventHandler<DataPortalResult<doWorkCommand>> callback) public static void doWork(int Id, EventHandler<DataPortalResult<doWorkCommand>> callback) I would like to...
      Posted to CSLA .NET discussion (Forum) by Uwe Hein on Wed, Nov 9 2011
    • ValidationRules vs PropertyHasChanged?

      We are using CSLA 3.8.x and want to build some validation rules that configure some default values whenever a property has changed. We are using validation rules as has been suggested on this forum, so to minimize the amount of code that goes into the setter methods in our properties. However, this causes...
      Posted to CSLA .NET discussion (Forum) by Marjon1 on Sun, Oct 30 2011
    • Re: Any Issues With Lists And Async Rules? (Silverlight)

      You absolutely should not run async rules on the server. There is nothing that stops the graph from being serialized to the client before the rule completes, unless you write such code (like manual locking at the bottom of DataPortal_Fetch). The best solution (imo) is to make your rule smart enough to...
      Posted to CSLA .NET discussion (Forum) by RockfordLhotka on Thu, Oct 27 2011
    Page 4 of 18 (174 items) « First ... < Previous 2 3 4 5 6 Next > ... Last »

    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