Dapper.Extensions | YOYOFx中使用的Dapper扩展
kandi X-RAY | Dapper.Extensions Summary
kandi X-RAY | Dapper.Extensions Summary
YOYOFx中使用的Dapper扩展 ###1. Get Entity:.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Dapper.Extensions
Dapper.Extensions Key Features
Dapper.Extensions Examples and Code Snippets
Community Discussions
Trending Discussions on Dapper.Extensions
QUESTION
I am using Dapper, with Dapper.Extensions and Dapper.SimpleCRUD. The following code works fine when running against a MYSQL database. However when I run the same code with the same tables against oracle I get ORA-00936: missing expression error. I am not sure why I am getting this error because I am simply trying to retrieve all records from the table.
...ANSWER
Answered 2020-Nov-05 at 07:41I do not see anywhere in your code you instruct your ORM which RDBMS you are using.
The root cause of the error is explained here:
Cause
You tried to execute a SQL statement but you omitted a part of the syntax.
This might be caused because ORM is generating incorrect query. This may happen because you did not set the Dialect
properly. Please refer to this and this for more details.
With Dapper Extensions, you need to set SqlDialect
as below:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Dapper.Extensions
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page