public ApiErrorCollection FetchAll() { ApiErrorCollection coll = new ApiErrorCollection(); Query qry = new Query(ApiError.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public ApiErrorCollection FetchByQuery(Query qry) { ApiErrorCollection coll = new ApiErrorCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public ApiErrorCollection FetchByID(object ApiErrorsKey) { ApiErrorCollection coll = new ApiErrorCollection().Where("API_Errors_Key", ApiErrorsKey).Load(); return coll; }