Hi John,
Yes, it is probably true since it was developed to support things I'm using and I'm not using return values per se.
Typically anything you would return like
return @@error
or
return @@IDENTITY
can also be expressed as
SELECT @@error
or
SELECT @@IDENTITY
and then you can just use ExecuteScalar
Alternatively you don't have to use sqlparameterhelper, you can use amore direct approach:
SqlParameter[] arParams = new SqlParameter[1];
arParams[0] = new SqlParameter("@ProductGuid", SqlDbType.UniqueIdentifier);
arParams[0].Direction = ParameterDirection.Input;
arParams[0].Value = productGuid;
int rowsAffected = SqlHelper.ExecuteNonQuery(GetConnectionString(),
CommandType.StoredProcedure,
"ws_ProductFile_Delete",
arParams);
return (rowsAffected > -1);
Hope it helps,
Joe