// Create the parameter and set the direction IDbDataParameter param1 = this.CreateParameter("@result", 0); param1.Direction = ParameterDirection.Output; // Call the stored procedure and pass the parameter IDbCommand cmd; this.ExecSprocScalar("OutputParamTest", out cmd, param1); // Retrieve the value from the command object IDbDataParameter param = (IDbDataParameter)cmd.Parameters["@result"]; int x = (int)param.Value;How do I pass the second parameter into
this.ExecSprocScalar("OutputParamTest", out cmd, param1);?