コード例 #1
0
        public PaymentTypeCollection FetchByQuery(Query qry)
        {
            PaymentTypeCollection coll = new PaymentTypeCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #2
0
        public PaymentTypeCollection FetchAll()
        {
            PaymentTypeCollection coll = new PaymentTypeCollection();
            Query qry = new Query(PaymentType.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }