ef、linq怎么实现以下的功能
str sqlstr="select a.* from a"if (code1!="")sqlstr=sqlstr+" join b on a.id=b.id && b.code=code1"if (code2!="")sqlstr=sqlstr+" join c on a.id=c.id && c.code=code1"
慕桂英4014372
慕的地10843
相关分类