开发者

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

开发者 https://www.devze.com 2023-01-20 02:32 出处:网络
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

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

精彩评论

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

关注公众号