示例#1
0
 public SysTieudeCollection FetchAll()
 {
     SysTieudeCollection coll = new SysTieudeCollection();
     Query qry = new Query(SysTieude.Schema);
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
示例#2
0
 public SysTieudeCollection FetchByQuery(Query qry)
 {
     SysTieudeCollection coll = new SysTieudeCollection();
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
示例#3
0
 public SysTieudeCollection FetchByID(object MaTieude)
 {
     SysTieudeCollection coll = new SysTieudeCollection().Where("ma_tieude", MaTieude).Load();
     return coll;
 }