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); }
public NoitruChiphithemCollection FetchByID(object Id) { NoitruChiphithemCollection coll = new NoitruChiphithemCollection().Where("Id", Id).Load(); return(coll); }