Is there a BulkInsert method combining DbTransaction with BulkInsertOptions?

Sep 17, 2014 at 1:41 PM
Edited Sep 17, 2014 at 4:24 PM
Hello,

We need to use DBTransaction with BulkInsert method, because we have to insert the entities using a transaction with Snapshot isolation level.

Our code is deployed in 50 different servers, and some of then has limited resources, so BulkInsert is throwing Timeout.

We wanted a method to use our custom timeout definition while be capable of using the DBTransaction.

Is that possible?

Update

Searching on source code I found the class BulkInsertDefaults
I'll try if defining BulkInsertDefaults.TimeOut will solve our problem.


Thank you