Skip to content
New issue

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

动态参数查询问题 #456

Closed
xiahaook opened this issue Sep 10, 2020 · 4 comments
Closed

动态参数查询问题 #456

xiahaook opened this issue Sep 10, 2020 · 4 comments

Comments

@xiahaook
Copy link

现在使用new { Name ="张三" }这种方式没有问题,
但是Dictionary<string, object>这种参数传递就不行

@2881099
Copy link
Collaborator

2881099 commented Sep 10, 2020

哪个方法,注释应该有说明

@xiahaook
Copy link
Author

ExecuteReaderAsync
image

@2881099
Copy link
Collaborator

2881099 commented Sep 10, 2020

sql 值,和 parameters 值发一下

@xiahaook
Copy link
Author

sql 值,和 parameters 值发一下

找到问题了,是因为我的K-V对象中Key中含有"@"

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

No branches or pull requests

2 participants