Beispiel #1
0
        public CustomerAddressCollection FetchByQuery(Query qry)
        {
            CustomerAddressCollection coll = new CustomerAddressCollection();

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Beispiel #2
0
        public CustomerAddressCollection FetchAll()
        {
            CustomerAddressCollection coll = new CustomerAddressCollection();
            Query qry = new Query(CustomerAddress.Schema);

            coll.LoadAndCloseReader(qry.ExecuteReader());
            return(coll);
        }
Beispiel #3
0
        public CustomerAddressCollection FetchByID(object CustomerID)
        {
            CustomerAddressCollection coll = new CustomerAddressCollection().Where("CustomerID", CustomerID).Load();

            return(coll);
        }