public DTrangThaiCollection FetchAll() { DTrangThaiCollection coll = new DTrangThaiCollection(); Query qry = new Query(DTrangThai.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public DTrangThaiCollection FetchByQuery(Query qry) { DTrangThaiCollection coll = new DTrangThaiCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }