开发者

EntityFramework lazy load from external source

I have a SQL 2008 R2 database, which I access using En开发者_运维百科tity Framework. One table has a property which has to be populated from an external source. The fetched value should then be cached in the table.

How can I inject code into the entity context, that will allow me to fetch this data only when needed, and a cached value does not exist?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜