摘要: 1. Compiled QueryFunc<OfflineDataContext, int> getNewsCount = CompiledQuery.Compile((OfflineDataContext newsDB1) => (from News p in newsDB1.StoredNewsList where p.CId == cid select p).Count());int storedCurCount = getNewsCount(newsDB); 阅读全文
posted @ 2011-09-18 16:27 jeekun 阅读(176) 评论(0) 推荐(0) 编辑