Exemplo n.º 1
0
        public static int TestOutputParametersWithoutTableProcedure(this TestdbDB dataConnection, string?aInParam, out sbyte?aOutParam)
        {
            var ret = dataConnection.ExecuteProc("`TestOutputParametersWithoutTableProcedure`",
                                                 new DataParameter("aInParam", aInParam, DataType.VarChar),
                                                 new DataParameter("aOutParam", null, DataType.SByte)
            {
                Direction = ParameterDirection.Output
            });

            aOutParam = Converter.ChangeTypeTo <sbyte?>(((IDbDataParameter)dataConnection.Command.Parameters["aOutParam"]).Value);

            return(ret);
        }
Exemplo n.º 2
0
 public static int AddIssue792Record(this TestdbDB dataConnection)
 {
     return(dataConnection.ExecuteProc("`AddIssue792Record`"));
 }