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

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

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

            return(coll);
        }