Entity Framework Specification Pattern Implementation

后端 未结 4 1301
感动是毒
感动是毒 2020-11-30 03:27

How-to implement Specification Pattern with Entity Framework ?

4条回答
  •  被撕碎了的回忆
    2020-11-30 04:15

    Just use NSpecifications lib (that I wrote myself). It's free. You can use it with any ORM based on IQueryable interface such as Entity Framework or Linq2Sql: https://github.com/jnicolau/NSpecifications

    Or get it from Nuget:

    Install-Package NSpecifications -Version 1.1.0

提交回复
热议问题