mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
- 优化 DbContext/Repository Orm 属性进行 CURD 与自身事务相同【新突破】;#270
This commit is contained in:
@ -7,7 +7,7 @@ namespace FreeSql
|
||||
|
||||
public FreeContext(IFreeSql orm)
|
||||
{
|
||||
_ormPriv = orm;
|
||||
_ormScoped = DbContextScopedFreeSql.Create(orm, () => this, () => UnitOfWork);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user