Skip to content

能否扩展ifreesql接口的Transaction为TransactionAsync #2278

Description

@zjbdiy

我看了源码 好像当前事务依赖线程Id 导致不能切换线程 为何不用asynclocal来管理事务对象 平滑的切换线程
是有什么已知问题吗

使用uow的话 在文档中明确说明在内部不能使用ifreesql,这不是强有力的约束
在编译期无法发现bug,

假设现在扩展接口 修改baseprovider之后 能否全面支持异步呢?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions