//声明调调用一个名为bosuuid的存储过程
  DbCommand dbCommand = dataBase.GetStoredProcCommand(“bosuuid”);

//将bosCode值传递给存储过程的in类型的形参bosType
dataBase.AddInParameter(dbCommand, "bosType", DbType.String, bosCode);

//将44值传递给存储过程的in类型的形参bosUuid
dataBase.AddOutParameter(dbCommand, "bosUuid", DbType.String, 44);

//执行存储过程
dataBase.ExecuteScalar(dbCommand);

//获得Out类型参数bosUuid的值
result = dbCommand.Parameters["bosUuid"].Value + "";