views:

233

answers:

0

We are currently mixing data sources, one is definitely SQL, whilst the other could be SQL or (currently) Oracle or DB2.

We are using LINQ2SQL in our SQL only data source, however we need to use System.Data.Common objects to extract Data Tables from the other sources. We are working with Data Tables in objects using data from both these sources.

Are there any simple ways (other than newing up a Data Table and adding records in a loop) to retrieve a DataTable or DataSet from the LINQ2SQL DataContext objects?