I have some queries that I use all the time (like get rows only of some specific type, or count something etc.). I'd like to organize them somehow (better then I currently do).
Currently I have them all in a static class called Queries which I don't really like because it's like a I-don't-know-how-to-name-this-class.
Is there a preferred way for organizing predefined queries in Entity Framework by extending some types etc.?
Aucun commentaire:
Enregistrer un commentaire