예제 #1
0
 public DmucKieudmucCollection FetchAll()
 {
     DmucKieudmucCollection coll = new DmucKieudmucCollection();
     Query qry = new Query(DmucKieudmuc.Schema);
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
예제 #2
0
 public DmucKieudmucCollection FetchByQuery(Query qry)
 {
     DmucKieudmucCollection coll = new DmucKieudmucCollection();
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
예제 #3
0
 public DmucKieudmucCollection FetchByID(object Id)
 {
     DmucKieudmucCollection coll = new DmucKieudmucCollection().Where("ID", Id).Load();
     return coll;
 }