public DDichVuCollection FetchAll() { DDichVuCollection coll = new DDichVuCollection(); Query qry = new Query(DDichVu.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public DDichVuCollection FetchByQuery(Query qry) { DDichVuCollection coll = new DDichVuCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public DDichVuCollection FetchByID(object IdDvu) { DDichVuCollection coll = new DDichVuCollection().Where("ID_DVU", IdDvu).Load(); return coll; }