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