示例#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);
        }