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
-
All, I have a web form with a FormView control where I am updating some basic contact data as well as some roles. Due to the complexity of the roles, I am saving those manually. On the ItemCommand event, I check to see if the command is 'Update' and if so, I manually process a few statements like Roles...
-
Hey I'm using using transactions in my code but it's not working when Rolling Back. Here is an example: try { TransactionManager trans = DataRepository .Provider.CreateTransaction(); trans.BeginTransaction(); try { // Update Entity1 // Update Entity2 // If I throw an exception here it should roolback...
-
Is possible to use DataRepository with TransactionManager? Could someone give me some example? Thanks OQ