摘要:当需要把context的where条件作为参数的时候,///<summary>///这样的where不能正常作为检索条件,执行后不会报错,但条件不会被使用,并且还会使后续添加的条件也无效。///</summary>///<paramname="where"></param>publicvoidAttachWhere(Func<AuthorRole,bool>w){using(DealerAuthorityDataContextdataContext=newDealerAuthorityDataContext()){
阅读全文
浙公网安备 33010602011771号