when we use inline sql then we can write sql in such a way as a result it return multiple result set hitting db once time. for example
select * from department;select * from employee
here i use semicolon so when i execute the above sql with ado.net then database will be hit only one time and multiple result set will be return.
so when i am working with EF then how could i write linq query which will return multiple result set. i do not want to call store proc by EF rather i use EF linq query.
if possible please tell me. thanks