Exemplo n.º 1
0
 public DLoaiDvuCollection FetchAll()
 {
     DLoaiDvuCollection coll = new DLoaiDvuCollection();
     Query qry = new Query(DLoaiDvu.Schema);
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
Exemplo n.º 2
0
 public DLoaiDvuCollection FetchByQuery(Query qry)
 {
     DLoaiDvuCollection coll = new DLoaiDvuCollection();
     coll.LoadAndCloseReader(qry.ExecuteReader()); 
     return coll;
 }
Exemplo n.º 3
0
 public DLoaiDvuCollection FetchByID(object IdLoaiDvu)
 {
     DLoaiDvuCollection coll = new DLoaiDvuCollection().Where("ID_LOAI_DVU", IdLoaiDvu).Load();
     return coll;
 }