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