Exemple #1
0
        public ContactCreditCardCollection FetchByQuery(Query qry)
        {
            ContactCreditCardCollection coll = new ContactCreditCardCollection();

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

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

            return(coll);
        }