file system transaction

  • Thread starter Thread starter z. f.
  • Start date Start date
Z

z. f.

Hi,

what are my options for using transaction in dot-net framework (thoes that work now and will continue to be supported in the future )?

can i have some kind of file-system transaction (with or without database transaction as well)?
is it possible to save a file to disk and update DB in a transaction?

any information or reference will be appreciated.

TIA, z.
 
The file system does not support transactions. But you can build a
Compensating Resouce Manager (CRM) which will give you the A and D of the
ACID properties. CRMs work together with COM+ which means that you can build
a CRM for saving files which can participate in a distributed transaction
together with SQL Server or other resource managers.

This link gives you an example of a CRM:
http://msdn.microsoft.com/library/d...tml/cpconcompensatingresourcemanagerscrms.asp

HTH, Jakob.
 
Back
Top