0
내가 같은 것을 수행 할 수 있습니다, 은 SQL 작업에 사용할 수있는 TransactionScope입니다. Sqltransaction과 동일한 작업을 수행합니까?
using (var scope = new TransactionScope())
{
using (var conn = new SqlConnection(Cs))
{
using (var cmd = conn.CreateCommand())
{
cmd.CommandType = CommandType.StoredProcedure;
...
scope.complete();
}
}
}
이