tags:

views:

17

answers:

1

Hi,

I'm developing a system that needs to accept sql queries dynamically. I'm looking for something where someone can define a select query in a file external to the system -- the system would execute the query and return the results as a DataSet. Then the system would read a mapping file (also defined external to the system) that would tell it how to save the data. I just wanted to make sure there wasn't any existing framework that I could piggyback off of before went ahead and implemented the functionality myself.

+1  A: 

The DataAdapter class and related classes already have this. See TableMappings.

John Saunders