コード例 #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;
 }
コード例 #3
0
ファイル: ApiErrorController.cs プロジェクト: Lornestar/pfx
 public ApiErrorCollection FetchByID(object ApiErrorsKey)
 {
     ApiErrorCollection coll = new ApiErrorCollection().Where("API_Errors_Key", ApiErrorsKey).Load();
     return coll;
 }