public ApiErrorsTypeCollection FetchAll() { ApiErrorsTypeCollection coll = new ApiErrorsTypeCollection(); Query qry = new Query(ApiErrorsType.Schema); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public ApiErrorsTypeCollection FetchByQuery(Query qry) { ApiErrorsTypeCollection coll = new ApiErrorsTypeCollection(); coll.LoadAndCloseReader(qry.ExecuteReader()); return coll; }
public ApiErrorsTypeCollection FetchByID(object ApiErrorsTypeX) { ApiErrorsTypeCollection coll = new ApiErrorsTypeCollection().Where("api_errors_type", ApiErrorsTypeX).Load(); return coll; }