public ContactCreditCardCollection FetchByQuery(Query qry) { ContactCreditCardCollection coll = new ContactCreditCardCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public ContactCreditCardCollection FetchAll() { ContactCreditCardCollection coll = new ContactCreditCardCollection(); Query qry = new Query(ContactCreditCard.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public ContactCreditCardCollection FetchByID(object ContactID) { ContactCreditCardCollection coll = new ContactCreditCardCollection().Where("ContactID", ContactID).Load(); return(coll); }