public DmucNhomcanlamsangChitietCollection FetchByQuery(Query qry) { DmucNhomcanlamsangChitietCollection coll = new DmucNhomcanlamsangChitietCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public DmucNhomcanlamsangChitietCollection FetchAll() { DmucNhomcanlamsangChitietCollection coll = new DmucNhomcanlamsangChitietCollection(); Query qry = new Query(DmucNhomcanlamsangChitiet.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public DmucNhomcanlamsangChitietCollection FetchByID(object IdChitiet) { DmucNhomcanlamsangChitietCollection coll = new DmucNhomcanlamsangChitietCollection().Where("id_chitiet", IdChitiet).Load(); return(coll); }