in

CodeSmith Community

Your Code. Your Way. Faster!

Browse by Tags

  • Re: Processors and Terminating Execution

    Hi Scott, This is quite simple to do - just use the Execute overload that takes a boolean to decide whether to "abortIfFailure" i.e. ServiceResult result = this.Execute( true ); This causes the execute method to check the ProcessorResult "Result" property to see if it is false i.e there is no result...
    Posted to .netTiers - General Support (Forum) by swin on 02-22-2007
    Filed under: BrokenRules, Processors, Service layer, ServiceLayer, Validation, Validation ServiceLayer
  • Re: Validation across properties in same class

    hejdig. I created a slightly simpler example. (Since I got help from the original posting I thought help later readers.) Also note that one has to add a rule for both Min and Max and that there will be two myEntity.BrokenRulesList items. protected override void AddValidationRules() { base.AddValidationRules...
    Posted to .netTiers - General Support (Forum) by LosManos on 10-23-2007
    Filed under: BrokenRules, Validation
  • Can Save an entity when IsValid = false?

    Hi, a newbie here, but somewhat familiar with CSLA. I seem to be able to Save an entity even though there are BrokenRules, and IsValid is false. Is that how it's supposed to work? Very nice templates, BTW. Compiled first time. Dave
    Posted to .netTiers - General Support (Forum) by davem1958@gmail.com on 10-31-2006
    Filed under: BrokenRules, Rules, Validation
Page 1 of 1 (3 items)
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems