我需要使用LINQ比较并获取一个字符串列表中匹配的值。请看我的代码。
代码:
代码:
Split = Id.Split(',');
List<string> uids = new List<string>(Split);
var model = (from xx in Db.ItemWeedLogs
where xx.ItemNo == uids
// I need to pass a string list to extract the matching record.
select xx).ToList();