public KcbDmucLuotkhamCollection FetchAll() { KcbDmucLuotkhamCollection coll = new KcbDmucLuotkhamCollection(); Query qry = new Query(KcbDmucLuotkham.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public KcbDmucLuotkhamCollection FetchByQuery(Query qry) { KcbDmucLuotkhamCollection coll = new KcbDmucLuotkhamCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public KcbDmucLuotkhamCollection FetchByID(object MaLuotkham) { KcbDmucLuotkhamCollection coll = new KcbDmucLuotkhamCollection().Where("ma_luotkham", MaLuotkham).Load(); return coll; }