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; }