List id_list = new List () { 1 };//测试数据... Listguid_list = (from uinfo in db.UserInfo where id_list.Contains(uinfo.ID) select new { uid= uinfo.Guid }).ToList().Select(u => u.uid).ToList ();
本文共 457 字,大约阅读时间需要 1 分钟。
List id_list = new List () { 1 };//测试数据... Listguid_list = (from uinfo in db.UserInfo where id_list.Contains(uinfo.ID) select new { uid= uinfo.Guid }).ToList().Select(u => u.uid).ToList ();
转载地址:http://tvgpx.baihongyu.com/