Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.0.0 版本调整说明 #563

Closed
2881099 opened this issue Nov 24, 2020 · 1 comment
Closed

v2.0.0 版本调整说明 #563

2881099 opened this issue Nov 24, 2020 · 1 comment

Comments

@2881099
Copy link
Collaborator

2881099 commented Nov 24, 2020

1、移除 IUnitOfWork Enable/Close/Open 属性或方法。

这三个成员或方法,已标记过期半年:

[Obsolete(@"即将删除(保留到2020-12-01),

请改用 UnitOfWorkManager 的方式管理事务 https://github.com/dotnetcore/FreeSql/issues/289")] 

2、所有异步方法增加参数 CancellationToken cancellationToken = default

有些原来是 params object[] 这样的参数,被改成了 object[],如下:

//原来:
Task<List<T>> QueryAsync<T>(CommandType cmdType, string cmdText, params DbParameter[] cmdParms);

//现在:
Task<List<T>> QueryAsync<T>(CommandType cmdType, string cmdText, DbParameter[] cmdParms, CancellationToken cancellationToken = default);
@2881099 2881099 pinned this issue Nov 24, 2020
@2881099
Copy link
Collaborator Author

2881099 commented Nov 27, 2020

v1.7.0 版本调整说明:#382

v1.5.0 版本调整说明:#318

v1.4.0 版本调整说明(包含v1.3.6+):#260

@luoyunchong luoyunchong unpinned this issue Aug 5, 2022
@luoyunchong luoyunchong pinned this issue Aug 17, 2022
@2881099 2881099 closed this as completed Oct 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant