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