Why I lost advantages of EF 4.31.+, Increase more code, Support TDD but x3 work?

Jul 14, 2012 at 10:17 PM
Edited Jul 14, 2012 at 10:33 PM


I am using EF 4.3.1+, The EF has lots of advantages and all Object states reside at DbContext.

If I add DomainModel, There's lots of work following up, I am using it painful.


If I added Repository,


How WPF architect should go?

This is not clear pattern (MVVM)

How to sync ViewModel and DbContext?

E.G If I add or delete from the view. I have to manaully dete from the view and DbContext layer.

ViewModel --> layer.

Repository <--> DomainModel --> layer

DbContext --> layer.