Skip to content

Comments

More detailed error message on unsupported literal type#1100

Merged
NickCraver merged 1 commit intoDapperLib:masterfrom
johnmwright:patch-1
Aug 22, 2018
Merged

More detailed error message on unsupported literal type#1100
NickCraver merged 1 commit intoDapperLib:masterfrom
johnmwright:patch-1

Conversation

@johnmwright
Copy link
Contributor

instead of exception message of DateTime, you'll get The type 'DateTime' is not supported for SQL literals., which is much more helpful when trying to figure out what went wrong

instead of exception message of `DateTime`, you'll get `The type 'DateTime' is not supported for SQL literals.`, which is much more helpful when trying to figure out what went wrong
Copy link
Member

@NickCraver NickCraver left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 Thanks!

@NickCraver NickCraver merged commit 1cd3efd into DapperLib:master Aug 22, 2018
rhubley pushed a commit to rhubley/Dapper that referenced this pull request Jan 29, 2020
instead of exception message of `DateTime`, you'll get `The type 'DateTime' is not supported for SQL literals.`, which is much more helpful when trying to figure out what went wrong
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants