刚用linq两天,基本语法还不太懂,
EntityQuery<FriendInfo_tbl> query = from f in service.GetFriendInfo_tblQuery() where f.personalGroupID == pg.personalGroupID && (f.xing.IndexOf(tbSo.Text) != -1 || f.ming.IndexOf(tbSo.Text) != -1 || f.cellphoneNum.IndexOf(tbSo.Text) != -1 || (tbSo.Text.StartsWith(f.xing) && tbSo.Text.EndsWith(f.ming))) select f;
有什么办法能让f.personalGroupID 检索pg.personalGroupID ,功能相当于sql里用in实现的结果一样
求高手解决 - -,
慕运维8079593
暮色呼如