コード例 #1
0
ファイル: RecipientController.cs プロジェクト: Lornestar/pfx
 public RecipientCollection FetchAll()
 {
     RecipientCollection coll = new RecipientCollection();
     Query qry = new Query(Recipient.Schema);
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
コード例 #2
0
ファイル: RecipientController.cs プロジェクト: Lornestar/pfx
 public RecipientCollection FetchByQuery(Query qry)
 {
     RecipientCollection coll = new RecipientCollection();
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }