I want to abstract data access from my model. I have classes that have collections of other objects and also primary item of object by id.
I need a static GetItemById call from the model for adding these items from the model abstracted from any data access.
How does one go about it?
FYI I'm currently building the model.