Пример #1
0
 public CannedTextCollection FetchAll()
 {
     var coll = new CannedTextCollection();
     var qry = new Query(CannedText.Schema);
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
Пример #2
0
 public CannedTextCollection FetchByQuery(Query qry)
 {
     var coll = new CannedTextCollection();
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }