You should use FetchTypedList to fetch the entities into a datatable. (pass entityfactory.CreateFields() for the fields
)
Add the datatables to a new dataset, and then setup the datarelation objects in the dataset, for example using the EntityRelation objects you get from entity.Relations.OtherEntityusing...