public DmucDichvukcbCollection FetchByQuery(Query qry) { DmucDichvukcbCollection coll = new DmucDichvukcbCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public DmucDichvukcbCollection FetchAll() { DmucDichvukcbCollection coll = new DmucDichvukcbCollection(); Query qry = new Query(DmucDichvukcb.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public DmucDichvukcbCollection FetchByID(object IdDichvukcb) { DmucDichvukcbCollection coll = new DmucDichvukcbCollection().Where("id_dichvukcb", IdDichvukcb).Load(); return(coll); }