mehdime / DbContextScope

A simple and flexible way to manage your Entity Framework DbContext instances
http://mehdi.me/ambient-dbcontext-in-ef6/
MIT License
634 stars 271 forks source link

Use with EntityFramework Reverse POCO Code First Generator? #49

Open Eric-Hanson opened 7 years ago

Eric-Hanson commented 7 years ago

When using Simon Hughes EntityFramework Reverse POCO Code First Generator to create EF classes and mapping, is there any advantage in also implementing DbContextScope? Are the two even compatible?

rosdi commented 7 years ago

I am using it with the Simon Hughes's POCO generator. One advantage is it is easy to make my code testable.