Showing related tags and posts accross the entire site.
-
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
-
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...
-
I recently upgraded to version 749 of nettiers only to find some strange changes that cause StackOverflows to occur when entity ToString() method is called during a validation process. The new EntityInstanceBase.generated.cst template has a ToString override. In the override method there is a call to...
Posted to
.netTiers - General Support
(Forum)
by
njappboy
on
07-15-2008
Filed under: Validation, Validation ServiceLayer, DeepSave, Validators, Processors, DeepLoad, Processorsvalidators, Processors NetTiersMystery, Processors ValidationRules BrokenRulesList, override, .netTiers 2.3.0, Validation ServiceLayer Validate IsValid Entity, DeepSave problem children processors