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