So the question is in the header.
What NHibernate users can do:
var q1 = Source.Companies.ToFuture();
var q2 = Source.Items.ToFuture();
var q3 = Source.Users.ToFuture();
var compoundModel = new CompoundModel(q1, q2, q3);
// All data obtained in single database roundtrip
// When the first to future statement is touched
How to mimic such behavior in EF 4?
The answer is no because EF is not able to work with multiple result sets.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With