开发者

Dynamic Linq: Reference relationships that don't have foreign keys

I'm using the Dynamic Linq features described in:

http://weblogs.asp.net/scottgu/archive/2008/01/07/dynamic-linq-part-1-using-the-linq-dynamic-query-library.aspx

which works fine as long as I'm only refering objects where foreign keys are setup properly.

Is there any way开发者_开发知识库 to referense a Table where foreign keys aren't setup?

i.e. something like:

.Where("it.DeleteFlag == false && context.Tags(KeyId == it.Id)")
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜