Closed jasonlaw closed 3 years ago
affect SmartLoading - none of the things like these... Smart Loading is in action AFTER you run the main query, have your entities and start going thru them doing biz logic, touching properties of entities - that's when SmartLoading kicks in. Having said that, I would suggest to double-check the SQLs produced by these Linq queries. I admit, the Linq engine in VITA is far from perfect and can produce invalid queries for non-trivial Linq expressions. So double-check the SQLs!
Thanks for the clarification, I have better understanding on how SmartLoading is working now. :)
Hi @rivantsov ,
Will the multiple calls of queries as shown below will affect the Smart Loading? If it will, could you please advise how to combine the multiple queries into one? I am not sure how since there is no Or where clause in Linq.
Thank you very much!