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