Making Entity framework implement an interface

前端 未结 4 1788
既然无缘
既然无缘 2020-12-09 14:57

I want to use IoC with Entity framework and Ninject. I figure I need the Generated Entity classes to implement an interface, ICRUD. There\'s a walkthrough that shows how t

4条回答
  •  温柔的废话
    2020-12-09 15:48

    It was a while ago, but I did this using a T4 template... see this post: EntityFramework trigger like Auditing

提交回复
热议问题