两种写法
1、
int[] Ids={1,2,3}
DBContainer db=new DBContainer();
var list=db.表明.where(a=>Ids.Contains(a.列名))
2、
int[] Ids={1,2,3}
DBContainer db=new DBContainer();
var list=from r db.表明
where Ids.Container(r.列名)
select r;
标签:containe div blog HERE from sql 查询 body new
两种写法
1、
int[] Ids={1,2,3}
DBContainer db=new DBContainer();
var list=db.表明.where(a=>Ids.Contains(a.列名))
2、
int[] Ids={1,2,3}
DBContainer db=new DBContainer();
var list=from r db.表明
where Ids.Container(r.列名)
select r;
标签:containe div blog HERE from sql 查询 body new
原文地址:https://www.cnblogs.com/Wxinchun/p/8723659.html