3 ms·
It depends. Sometimes a repository can cover all needs with relatively few and relatively generic methods, sometimes specialized database interactions can be ap
by HelloNurse 7y ago
It depends. Sometimes a repository can cover all needs with relatively few and relatively generic methods, sometimes specialized database interactions can be application logic layered on top of a much less specialized repository, sometimes a repository becomes unpleasant because it should be split up, etc.