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

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

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

            return(coll);
        }