mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
- 调整 Aop 改为 event 事件;
- 调整 Ado.AopCommandExecuting/AopCommandExecuted 到 Aop.CommandBefore/After; - 增加 Aop.TraceBefore/After 事件;
This commit is contained in:
@ -8,6 +8,11 @@ namespace FreeSql
|
||||
public interface IUnitOfWork : IDisposable
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 开启事务,或者返回已开启的事务
|
||||
/// </summary>
|
||||
/// <param name="isCreate">若未开启事务,则开启</param>
|
||||
/// <returns></returns>
|
||||
DbTransaction GetOrBeginTransaction(bool isCreate = true);
|
||||
|
||||
IsolationLevel? IsolationLevel { get; set; }
|
||||
|
Reference in New Issue
Block a user