List<Keywords_Info> keyList = base.DataContext.Database.SqlQuery<Keywords_Info>("SELECT TOP " + top + " Id,Keyword FROM Keywords_Info ORDER BY Id DESC").ToList();
如何指定查询的字段赋值给 Keywords_Info 对象?上文中就是指定Id和keyword两个字段
这是linq to Sql 吗? 现在这么写keyList 里取不到值吗?