摘要:
1】加载单个对象Persister<NewsDetail>.Load(sysNo);2】查询列表DateTime dtNow = DateTime.Now.Date;WhereClauseBuilder<NewsMaster> where = new WhereClauseBuilder<NewsMaster>();where.And(f => f.Status == 3);if (newsType.HasValue)where.And(f => f.Type == newsType);where.And(f => f.PublishDat 阅读全文