Discussion:
Automatic Rollback
(too old to reply)
Mobile Application Developer (MAD)
2009-08-18 06:03:01 UTC
Permalink
Hi,
when I create Database programmatically from, C#, is there a way to setup
automatic rollback on any errors?
ErikEJ
2009-08-18 08:31:39 UTC
Permalink
Yes, wrap the used SqlCeCommand objects in a SqlCeTransaction, that you can
commit or rollback as required.
--
Erik Ejlskov Jensen, Mobile App Dev MCTS
Check out my SQL Compact blog at
http://erikej.blogspot.com
Post by Mobile Application Developer (MAD)
Hi,
when I create Database programmatically from, C#, is there a way to setup
automatic rollback on any errors?
Loading...