public bool SetupCommand(IDataInteraction command) { command.ExecuteText(GetSql()); command.AddOutputParameter("@param", DbType.StringFixedLength, 4); return(true); }
public bool SetupCommand(IDataInteraction command) { command.ExecuteText(@" SELECT @value = 'param'; SELECT 'result';"); command.AddOutputParameter("@value", DbType.AnsiString, 5); return(true); }
public bool SetupCommand(IDataInteraction command) { command.ExecuteText("SELECT @param = 'TEST';"); command.AddOutputParameter("@param", DbType.StringFixedLength, 4); return(false); }
public bool SetupCommand(IDataInteraction command) { command.ExecuteText("SELECT @param = 'TEST';"); command.AddOutputParameter("@param", DbType.AnsiString, 4); return(true); }
public bool SetupCommand(IDataInteraction interaction) { interaction.ExecuteText("SELECT @value = 5;"); interaction.AddOutputParameter("@value", DbType.Int32, 0); return(true); }
public bool SetupCommand(IDataInteraction interaction) { interaction.ExecuteText("SELECT @value = 'TEST';"); interaction.AddOutputParameter("@value", DbType.AnsiString, 8000); return(true); }