1
我编程设置Where子句在EntityDataSource像这样:LINQ-to-Entities哪里有OR条件的子句?
edsCheckListEntities.Where = "not it.business_done"
不幸的是,这不赶任何空值,这也“不这样做”,所以我尝试了以下内容:
edsCheckListEntities.Where = "it.business_done is nothing or not it.business_done"
但是这会引发错误。有没有办法在实体数据源where子句中这样做一个OR?
好吧,那很容易。谢谢。 – davemackey
@davemackey:酷 - 很高兴它工作:) –