是的,事务会被回滚。由于在抛出异常后没有捕获或处理异常,事务将自动回滚。

EF CORE using var trans = dbContextDatabaseTransaction Invoke;transCommit;throw new Exception;事务还会被回滚吗?