public DDviTinhCollection FetchAll() { DDviTinhCollection coll = new DDviTinhCollection(); Query qry = new Query(DDviTinh.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public DDviTinhCollection FetchByQuery(Query qry) { DDviTinhCollection coll = new DDviTinhCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public DDviTinhCollection FetchByID(object IdDviTinh) { DDviTinhCollection coll = new DDviTinhCollection().Where("ID_DVI_TINH", IdDviTinh).Load(); return coll; }