트랜잭션에서 실행해야하는 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