I'm currently working on a team project where we have to work with the Entity Framework.
Our WinForms application is using the MVC design pattern, and by that fact, we are not quite sure how to work with the data.
- Would it be best just to work with the
contextand make changes to this? - Or, would it be best to create a
DataManagerclass that is part of theController, and then create the appropriate (needed) methods within this class? For example, if we need a method that returns all persons with IDs between x and y, then we would make this method in the DataManager that takes x and y as input.
Thank you for your suggestions.