2

This looks like you have organised your database code in such a way that you have one repository per table. With this pattern you'll eventually always reach the point you are at right now. Just create a single repository by database with all the queries you need to execute. You'll then be able to create proper transactions and handle inserts without ...


Only top voted, non community-wiki answers of a minimum length are eligible