Answer the question
In order to leave comments, you need to log in
How to pass a bool type parameter to a stored procedure using Dapper?
var parameters = new DynamicParameters();
parameters.Add("PARAM1", true, DbType.Boolean);
parameters.Add("PARAM2", null, DbType.Decimal, ParameterDirection.Output, 0);
DbConnection.Execute("PROC_BOOL", parameters, null, null, CommandType.StoredProcedure);
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question