public DataTable ToDataTable(object query, string tableName, bool ExecuteWithSchema);
tableName The name of the table to create
ExecuteWithSchema determines whether extra schema information is retrieved with the query