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

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

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

            return(coll);
        }