存储库是否应允许在现场级别进行更新? [英] Should a repository allow updates at the field level?
本文介绍了存储库是否应允许在现场级别进行更新?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如果您正在开发使用存储库模式的应用程序,那么存储库是否允许您更新实体中的单个字段或仅允许实体的合并更新?
If you are developing an application that uses the repository pattern should the repository allow you to update a single field in an entity or only allow merge update of the entity?
推荐答案
我决定不,因为并发性太难了......
I decided "no" because the concurrency is just too difficult...
这篇关于存储库是否应允许在现场级别进行更新?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文