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