It is not clear how and what framework you used to implement your application. But, if you are comfortable working with
ADO Entity Framework[
^] or
NHibernate[
^], such kind of query propagation is really easy. Just explore them.
I hope this helps you well.