Here are the examples of the csharp api class DataContext.AddTables(System.Data.DataSet) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Example
0
1. Example
Project: nquery-vnext
Source File: DataContextExtensions.cs
Source File: DataContextExtensions.cs
public static DataContext AddTablesAndRelations(this DataContext dataContext, DataSet dataSet) { if (dataContext == null) throw new ArgumentNullException(nameof(dataContext)); if (dataSet == null) throw new ArgumentNullException(nameof(dataSet)); return dataContext.AddTables(dataSet).AddRelations(dataSet); }