Linq to SQL DTOs and composite objects

后端 未结 3 1045
栀梦
栀梦 2021-02-10 16:29

I am using a similar approach to others in keeping my LINQ objects in my LINQ data provider and returning an IQueryable to allow filtering etc. This works fine for filtering a

3条回答
  •  故里飘歌
    2021-02-10 17:02

    I ended up not using filters for my complex queries. Instead, I added methods to the repository for the more complex query requirements. I feel this will make the system easier to understand and hence maintain.

提交回复
热议问题