What specific issue does the repository pattern solve?

后端 未结 7 1121
自闭症患者
自闭症患者 2020-12-12 12:55

(Note: My question has very similar concerns as the person who asked this question three months ago, but it was never answered.)

I recently started working

7条回答
  •  遥遥无期
    2020-12-12 13:09

    I think there is a big misunderstanding of what many articles call "repository." And that's why there are doubts about what real value those abstractions bring.

    In my opinion the repository in it's pure form is IEnumerable, while you and many articles are talking about "data access service."

    I've blogged about it here.

提交回复
热议问题