私はトランザクションで実行する必要があるlinq2sqlでいくつかの操作をしています。しかし、トランザクションの内部で使用するメソッドの中には、linq2sqlを使用して独自のトランザクション内で実行するものもあります(内部トランザクションはストアドプロシージャ内で実行されます)。これは、私が代わりに例外を取得、私はSQL ServerのMultipleActiveResultSetsを使用する場合は例外複数のネストされたトランザクションスコープの使用方法は?
[TransactionInDoubtException: The transaction is in doubt.]
System.Transactions.TransactionStateInDoubt.EndCommit(InternalTransaction tx) +76
with the inner exception
[SqlException (0x80131904): There is already an open DataReader associated with this Command which must be closed first.]
を与える
[SqlException (0x80131904): The transaction operation cannot be performed because there are pending requests working on this transaction.]
は、誰もがこのようにlinq2sqlとtransactionscopesでの作業の経験を持っていますか?
これは、上記の同様の問題で私の問題であったので、私から+1しました:) – James