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