Dynamic Mapping of Table Columns

B

Bill

Hi,

I need to take out records from one table and insert it
into another identical table via a C# application. Is
there a way to dynamically determine the corresponding
columns of the two tables using an XML mapping file which
has the column names of the two tables mapped.
If yes, can anyone sugest how the mapping file can be
checked before data insertion.

Any help is appreciated.

Thank You
 
K

Kathleen Dollard

Bill,

I don't believe there's an automatic way to do this in ADO.NET. There may be
a third party solution, or you could roll your own fairly easily.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top