日期:2014-05-20 浏览次数:20874 次
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; } }