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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
コード例 #3
0
        public CustomerCustomerDemoCollection FetchByID(object CustomerID)
        {
            CustomerCustomerDemoCollection coll = new CustomerCustomerDemoCollection().Where("CustomerID", CustomerID).Load();

            return(coll);
        }