Example #1
0
        public PhaseCollection FetchByQuery(Query qry)
        {
            PhaseCollection coll = new PhaseCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #2
0
        public PhaseCollection FetchAll()
        {
            PhaseCollection coll = new PhaseCollection();
            Query           qry  = new Query(Phase.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #3
0
        public PhaseCollection FetchByID(object Id)
        {
            PhaseCollection coll = new PhaseCollection().Where("ID", Id).Load();

            return(coll);
        }