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); }
public TransactionTypeDescriptorCollection FetchByID(object TransactionTypeDescriptorId) { TransactionTypeDescriptorCollection coll = new TransactionTypeDescriptorCollection().Where("TransactionTypeDescriptorId", TransactionTypeDescriptorId).Load(); return(coll); }