Commit(); } catch (Exception) { dbContextTransaction.Rollback(); } }. And here is another example using the Entity Framework "TransactionScope":
確定! 回上一頁