Check your library version, and try updating
Dapper V 2.1.72
Microsoft.Data.SqlClient 7.0.1
Describe the bug
var parameters = new DynamicParameters();
parameters.Add("APP_COD", newData.CodAplicativo, DbType.Int64);
var appExiste = await dbConnection.QueryFirstOrDefaultAsync<int>(
sql: "select count(*) from CAD.TBL_APLICACAO APP where (APP.APP_COD = @APP_COD)",
param: parameters);
Give me the warning:
Parameters are being supplied, but no parameters were detected in the command
or in others like this
Parameters are being supplied, but no parameters were detected in the command (https://aot.dapperlib.dev/rules/DAP018)
Check your library version, and try updating
Dapper V 2.1.72
Microsoft.Data.SqlClient 7.0.1
Describe the bug
Give me the warning:
Parameters are being supplied, but no parameters were detected in the command
or in others like this
Parameters are being supplied, but no parameters were detected in the command (https://aot.dapperlib.dev/rules/DAP018)