예제 #1
0
        public CurrentStatusCollection FetchByQuery(Query qry)
        {
            CurrentStatusCollection coll = new CurrentStatusCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
예제 #2
0
        public CurrentStatusCollection FetchAll()
        {
            CurrentStatusCollection coll = new CurrentStatusCollection();
            Query qry = new Query(CurrentStatus.Schema);

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

            return(coll);
        }