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