Correct way to use EF from WPF
I have a WPF app that needs to access a DB using Entity Framework code-first.
I have built the different classes as models and i've built a class myContext: DbContext as context for the data access.
I would like to know where it would be better to insert the different method for accessing data (SaveXY, GetXY, DeleteXY)  though the myContext object to be accessible to the app.
I think i have to add a new class ... should it has to be a static class, a singleton ... which is the correct way to design it?
Correct way to use EF from WPF
===

I have a WPF app that needs to access a DB using Entity Framework code-first.
I have built the different classes as models and i've built a class myContext: DbContext as context for the data access.
I would like to know where it would be better to insert the different method for accessing data (SaveXY, GetXY, DeleteXY)  though the myContext object to be accessible to the app.
I think i have to add a new class ... should it has to be a static class, a singleton ... which is the correct way to design it?