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
  • Validation Code - Where does it go?

    I am seeing a lot of messages about overloading the "AddValidationRules()" method but I don't know where it goes? protected override void AddValidationRules() { base .AddValidationRules(); //Add custom validation rules } I have created a custom class based on an auto generated Entity class ( public class...
    Posted to .netTiers - General Support (Forum) by Playground on 02-21-2007
    Filed under: Entities, Entity Validation Rule Engine CommonRules, Validation, Validation ServiceLayer
  • Tough Question

    I've see many users ask this question and to date I've yet to find a response that actually answers the question. If I have an Entity validation rule that requires a trip to the database and also requires that it be part of any INSERT or UPDATE action on the entity how would this be implemented...
    Posted to .netTiers - General Support (Forum) by njappboy on 06-23-2008
    Filed under: Validation, ComponentLayer, Validation ServiceLayer, Validators, Processors, Entity Layer, Entities, ServiceLayer, business rules, Processorsvalidators, C#, Transaction, Save, Processors ValidationRules BrokenRulesList, .netTiers 2.3.0, Validation ServiceLayer Validate IsValid Entity
Page 1 of 1 (3 items)
Copyright © 2008 CodeSmith Tools, LLC
Powered by Community Server (Commercial Edition), by Telligent Systems