示例#1
0
 public TreasuryTypeCollection FetchAll()
 {
     TreasuryTypeCollection coll = new TreasuryTypeCollection();
     Query qry = new Query(TreasuryType.Schema);
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
示例#2
0
 public TreasuryTypeCollection FetchByQuery(Query qry)
 {
     TreasuryTypeCollection coll = new TreasuryTypeCollection();
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }