Esempio n. 1
0
        public DDCustomerSearchOptionCollection FetchByQuery(Query qry)
        {
            DDCustomerSearchOptionCollection coll = new DDCustomerSearchOptionCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 2
0
        public DDCustomerSearchOptionCollection FetchAll()
        {
            DDCustomerSearchOptionCollection coll = new DDCustomerSearchOptionCollection();
            Query qry = new Query(DDCustomerSearchOption.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Esempio n. 3
0
        public DDCustomerSearchOptionCollection FetchByID(object OptionID)
        {
            DDCustomerSearchOptionCollection coll = new DDCustomerSearchOptionCollection().Where("OptionID", OptionID).Load();

            return(coll);
        }