TDD and ADO.NET Entity Framework

前端 未结 6 1090
夕颜
夕颜 2020-12-13 10:46

I\'ve been playing with ADO.NET Entity Framework lately, and I find that it suits my needs for a project I\'m developing. I also find cool its non-invasive nature.

A

6条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-13 11:21

    This answer has changed to "Yes, you can".

    You can generate POCO and interfaces using customized T4 templates such as https://entityinterfacegenerator.codeplex.com/, then create mocking objects to test EF in and out without hitting the database.

提交回复
热议问题