你的位置: 码友网首页 / 资讯源列表 / Implementing Query Specification pattern in Entity Framework Core

关于[Implementing Query Specification pattern in Entity Framework Core]的摘要:

My previous blog post No need for repositories and unit of work with Entity Framework Core showed how Repository and Unit of Work patterns are already implemented in Entity Framework Code (and NHibernate) and how we can use IDataContext generalization to get ORM-s behind same interface. As I’m still trying to find out what’s the best place where to isolate queries without exposing IQueryable I started playing with Query Specification pattern.

原文地址: https://gunnarpeipman.com/ef-core-query-specification/

收录时间: 2019-12-03 浏览量: 1887 分类: Entity Framework Core

| 0 收藏 | 0