更新时间:2022-04-02 21:01:27
List<int> list = new List<int>() { 1, 2, 3, 4, };
IQueryable<int> query = list.AsQueryable();
如果看不到AsQueryable()
方法,请为System.Linq
添加using语句.
If you don't see the AsQueryable()
method, add a using statement for System.Linq
.