コード例 #1
0
 public PollQuestionsCollection FetchAll()
 {
     PollQuestionsCollection coll = new PollQuestionsCollection();
     Query qry = new Query(PollQuestions.Schema);
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
コード例 #2
0
 public PollQuestionsCollection FetchByQuery(SubSonic.Query qry)
 {
     PollQuestionsCollection coll = new PollQuestionsCollection();
     coll.LoadAndCloseReader(qry.ExecuteReader());
     return coll;
 }
コード例 #3
0
ファイル: Poll.cs プロジェクト: okyereadugyamfi/softlogik
 public static PollQuestionsCollection LoadQuestions()
 {
     IDataReader rdr = PollQuestions.FetchAll();
     PollQuestionsCollection col = new PollQuestionsCollection();
     col.LoadAndCloseReader(rdr);
     return col;
 }