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

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

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Example #3
0
        public CustomerTargetListCollection FetchByID(object TargetID)
        {
            CustomerTargetListCollection coll = new CustomerTargetListCollection().Where("targetID", TargetID).Load();

            return(coll);
        }