Пример #1
0
        public CustomerDemographicCollection FetchByQuery(Query qry)
        {
            CustomerDemographicCollection coll = new CustomerDemographicCollection();

            coll.Load(qry.ExecuteReader());
            return(coll);
        }
Пример #2
0
        public CustomerDemographicCollection FetchAll()
        {
            CustomerDemographicCollection coll = new CustomerDemographicCollection();
            Query qry = new Query(CustomerDemographic.Schema);

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