开发者

Modifying existing AssociateWith<> in Linq-to-Sql

I have some linq-to-sql where we use Associate开发者_开发百科With<> to limit some of the records to only those for a particular user. I might -in some cases- want to limit those records to a specific date too. Once I have created my option.AssociateWith(....), can I modify it? If so, how? thanks!


MSDN says that there is no possibility to achieve this keeping the DataContext instance (see the Rules section). So dispose the context and reassign the DataLoadOptions.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜