public ApiCallCollection FetchByQuery(Query qry) { ApiCallCollection coll = new ApiCallCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }
public ApiCallCollection FetchAll() { ApiCallCollection coll = new ApiCallCollection(); Query qry = new Query(ApiCall.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return(coll); }