public DmucCanhbaoCollection FetchByQuery(Query qry) { DmucCanhbaoCollection coll = new DmucCanhbaoCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public DmucCanhbaoCollection FetchAll() { DmucCanhbaoCollection coll = new DmucCanhbaoCollection(); Query qry = new Query(DmucCanhbao.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public DmucCanhbaoCollection FetchByID(object MaBn) { DmucCanhbaoCollection coll = new DmucCanhbaoCollection().Where("MA_BN", MaBn).Load(); return(coll); }