Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get unrelated entities in one trip to the database

I have 3 entities that are not related to each other and I want to get all these entities in one trip to the database how can I do this ??

Thanks

like image 880
kathy Avatar asked Nov 06 '22 13:11

kathy


1 Answers

You can use Future Query extension method. This link can do the job as required.

like image 143
maxspan Avatar answered Nov 22 '22 03:11

maxspan