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

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

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

            return(coll);
        }