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