Example #1
0
        public DDCompanyInfoCollection FetchByQuery(Query qry)
        {
            DDCompanyInfoCollection coll = new DDCompanyInfoCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #2
0
        public DDCompanyInfoCollection FetchAll()
        {
            DDCompanyInfoCollection coll = new DDCompanyInfoCollection();
            Query qry = new Query(DDCompanyInfo.Schema);

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