Is there a recommended maximum amount of .Include statements to use in an Entity Framework query.
I think i read somewhere Microsoft recommends no more than three but I cant find that source.
Thanks in advance.
Is there a recommended maximum amount of .Include statements to use in an Entity Framework query.
I think i read somewhere Microsoft recommends no more than three but I cant find that source.
Thanks in advance.
Copyright © 2021 Jogjafile Inc.
See performance considerations for entity framework http://msdn.microsoft.com/en-us/data/hh949853.aspx (p 8.2.2) :
I suggest to use SQL Profiler or EF Profiler (f.e. EFProf) which can help with performance issues