public CustomerTargetListCollection FetchAll() { CustomerTargetListCollection coll = new CustomerTargetListCollection(); Query qry = new Query(CustomerTargetList.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public CustomerTargetListCollection FetchByQuery(Query qry) { CustomerTargetListCollection coll = new CustomerTargetListCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public CustomerTargetListCollection FetchByID(object TargetID) { CustomerTargetListCollection coll = new CustomerTargetListCollection().Where("targetID", TargetID).Load(); return coll; }