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