Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When AllowUserVariables is false, and the user uses a variable, the connector will throw a "parameter must be defined" exception.
AllowUserVariables
false
This behaviour frequently confuses people; see http://stackoverflow.com/questions/9186983/non-parameter-sql-variables-with-mysql-connector-net-and-dapper and all the links on #194.
Add some explanatory text to the exception message that tells users how to recover from this problem so that they don't have to Google it.
The text was updated successfully, but these errors were encountered:
7b17330
bgrainger
No branches or pull requests
bgrainger commentedMar 23, 2017
When
AllowUserVariables
isfalse
, and the user uses a variable, the connector will throw a "parameter must be defined" exception.This behaviour frequently confuses people; see http://stackoverflow.com/questions/9186983/non-parameter-sql-variables-with-mysql-connector-net-and-dapper and all the links on #194.
Add some explanatory text to the exception message that tells users how to recover from this problem so that they don't have to Google it.
The text was updated successfully, but these errors were encountered: