Databinding to an Entity Framework in WPF
- by King Chan
Is it good to use databinding to Entity Framework's Entity in WPF?
I created a singleton entity framework context:
To have only one connection and it won't open and close all the time.
So I can pass the Entity around to any class, and can modify the Entity and make changes to the database.
All ViewModels getting the entity out from the same…