. NET Transactional File Manager
http://transactionalfilemgr.codeplex.com/
For file system operations, such as copy, move, delete, add transaction support.
Project descriptiontransactional File Manager isA. NET API that supports including file system operations such asFile copy, move, delete, append, etc.inchA transaction. It's an implementation of System.Transaction.IEnlistmentNotification (works with System.Transactions.TransactionScope).This library allows your to wrap file system operationsinchTransactions like This://Wrap A file copy and a database insert in the same transactionTxfilemanager filemgr =NewTxfilemanager ();using(TransactionScope scope1 =NewTransactionScope ()) { //Copy a filefilemgr.copy (Srcfilename, destfilename); //Insert a database recorddbmgr.executenonquery (Insertsql); Scope1.complete ();}
. NET Transactional File Manager