EF4 LINQ Include(string) alternative to hard-coded string?

前端 未结 7 2293
借酒劲吻你
借酒劲吻你 2020-12-29 11:13

Is there any alternative to this:

Organizations.Include(\"Assets\").Where(o => o.Id == id).Single()

I would like to see something like:<

7条回答
提交回复
热议问题