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

[建议]是否考虑增加InsertOrUpdate(List<TEntity> entities)的功能? #17

Closed
LambertW opened this issue Mar 16, 2019 · 4 comments

Comments

@LambertW
Copy link
Contributor

同上,该实现也是比较常见的一个业务需求

@2881099
Copy link
Collaborator

2881099 commented Mar 16, 2019

这个应该放在哪个类实现好,比较纠结,哈哈

@LambertW
Copy link
Contributor Author

我看过SqlSugar的设计,有个独立的ISaveable实现,独立于IInsert/IUpdate。
在初始化的时候,再内部分离成IInsert/IUpdate。

ISaveable

@2881099
Copy link
Collaborator

2881099 commented Apr 8, 2019

这个功能已经增加,在FreeSql.DbContext内,仓储和DbSet都可以。

更新时忘了回复了

@LambertW
Copy link
Contributor Author

LambertW commented Apr 8, 2019

谢谢,回头我看一下

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

2 participants