Repository Pattern without LINQ or other ORM?

前端 未结 3 1455
花落未央
花落未央 2021-01-21 06:47

Does it makes sense to use the Repository pattern without the use of LINQ or some other ORM? I am writing an application in MONO and using MySQL, was thinking of using the repo

3条回答
  •  死守一世寂寞
    2021-01-21 07:17

    Sure. The repository is simply a pattern used by linq. You can provide any sort of data access you want through it. A project I work on uses repositories that deal with strongly typed DataSets.

提交回复
热议问题