G
Guest
The MSDN document
http://msdn2.microsoft.com/en-us/library/tchktcdk.aspx explicitely
states that it is possible to use the SqlBulkCopy class with a
transaction created using the classes in the
System.Transactions-namespace. However, I notice that the SqlBulkCopy
constructor only accepts an instance of a SqlTransaction-class and not
of any of the classes derived from System.Transactions.Transaction. So,
my question is this: how can I make sure that SqlBulkCopy makes use of
an existing transaction that I explicitely created using
CommittableTransaction?
http://msdn2.microsoft.com/en-us/library/tchktcdk.aspx explicitely
states that it is possible to use the SqlBulkCopy class with a
transaction created using the classes in the
System.Transactions-namespace. However, I notice that the SqlBulkCopy
constructor only accepts an instance of a SqlTransaction-class and not
of any of the classes derived from System.Transactions.Transaction. So,
my question is this: how can I make sure that SqlBulkCopy makes use of
an existing transaction that I explicitely created using
CommittableTransaction?