public SysReportCollection FetchAll() { SysReportCollection coll = new SysReportCollection(); Query qry = new Query(SysReport.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public SysReportCollection FetchByQuery(Query qry) { SysReportCollection coll = new SysReportCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public SysReportCollection FetchByID(object MaBaocao) { SysReportCollection coll = new SysReportCollection().Where("ma_baocao", MaBaocao).Load(); return coll; }