阅读背景:

在呈现我的视图之前,急切地将Linq加载到实体查询会减慢事情吗?

来源:互联网 

When my view is rendered I will need to fetch location data (array of long/lat coordinates) coming from my viewmodel. I'll use Javascript to read these values and plot them in a Google Map. Currently I'm fetching results that contain the location data but I'm not sure how to efficiently get the location data out of the results and place them into another property in my view model. Should this be eagerly loaded, lazy loaded, etc.? I'm kinda a newbie to Linq and EF.When my view is rendered I will need to fetch l




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: