Entity Framework Specification Pattern Implementation

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

How-to implement Specification Pattern with Entity Framework ?

4条回答
  •  时光说笑
    2020-11-30 04:14

    Basically, there should be nothing special (due to EF) when implementing the specification pattern. You implement the specifications as separate classes, which work with your domain model.

    You can find lots of articles or webcasts about the specification pattern, and even some which use EF, e.g. here and here.

提交回复
热议问题