I'm trying to move my Dapper project to repository pattern. What I want to do is
public SomeMethod(NpgsqlConnection con) { .../ }
And I want to know will it eat too much memory? Is it bad pattern. I don't need much explanations if you wish. Can you just answer me yes or no?
Code works but I'm not sure about correct cpu using