日期:2014-05-20 浏览次数:20893 次
public object TownInfoQuery(string id) { using (TombData db = new TombData()) { var town = from t in db.Town where t.Ttid == id select new { id = t.Tid, name = t.Tname }; return town; } }