I am constructing a dataset in memory from one or multiple tables with some links between them. I use existing tables from my database and user can select any combination of them to create his own data source.
It is like when you create a view in SQL Server and it creates SQL SELECT statement for you.

My question is:

Can ADO.NET somehow help me to create/generate SQL SELECT statement based on constructed dataset?

Thank you.
Victor