linq查询能不能返回单列的值 我就要一列,其中一行的值

2025-05-01 07:49:07
推荐回答(1个)
回答1:

当然可以
var s=from t in dc.class1 select new{id=t.id};