public SysRewardCollection FetchAll() { SysRewardCollection coll = new SysRewardCollection(); Query qry = new Query(SysReward.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public SysRewardCollection FetchByQuery(Query qry) { SysRewardCollection coll = new SysRewardCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }