Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TransactionRollback() does not update RowState
Message
 
À
25/06/2012 15:02:26
Jeff Corder
Ambit Technologies, LLC
Missouri, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01546873
Message ID:
01546889
Vues:
54
Jeff,

>I am saving a invoice with several tables in a single transaction. If the transaction fails and the user corrects the problem, I get a concurrency error when attempting to save.
>
>I noticed that when I call TransactionRollback() the RowState of the data I'm attempting to save is not restored. The RowState remains Unchanged and the IsChanged() is false.
>
>I was thinking that if I rolled back a transaction, it would all roll back. Am I missing something?

Which version of MM .NET are you using? Is this Entity Framework or classic ADO.NET?

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform