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

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

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

            return(coll);
        }