public PhaseCollection FetchByQuery(Query qry) { PhaseCollection coll = new PhaseCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PhaseCollection FetchAll() { PhaseCollection coll = new PhaseCollection(); Query qry = new Query(Phase.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public PhaseCollection FetchByID(object Id) { PhaseCollection coll = new PhaseCollection().Where("ID", Id).Load(); return(coll); }