C# 在数据集中填充3个表

C# 在数据集中填充3个表,c#,sql,dataset,C#,Sql,Dataset,我已经读了很多关于这方面的书,但我没有找到任何解决方案。我有一个包含3个表的数据集。如何在数据集中填充这3个表? 是否可以只使用一个sql查询和多个联接?select*from tableA where select * from tableA where <condition> select * from tableB where <condition> select * from tableC where <condition> 从表B中选择*,其中

我已经读了很多关于这方面的书,但我没有找到任何解决方案。我有一个包含3个表的数据集。如何在数据集中填充这3个表? 是否可以只使用一个sql查询和多个联接?

select*from tableA where
select * from tableA where <condition>

select * from tableB where <condition>

select * from tableC where <condition>
从表B中选择*,其中 从表C中选择*,其中
将返回三个表(数据集)

否,每个表返回一个查询(适配器)。并考虑EF而不是数据集。