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

IQueryable对象不能使用EF的ToQueryString方法 #286

Open
kailicom opened this issue Jan 17, 2025 · 0 comments
Open

IQueryable对象不能使用EF的ToQueryString方法 #286

kailicom opened this issue Jan 17, 2025 · 0 comments

Comments

@kailicom
Copy link

使用Sharding-Core版本:7.8.1.22
我想通过IQyerybale对象获取生成的sql语句,用于其它中间件数据的查询。
但配置过分表的实体调用EF拓展方法ToQueryString返回:The given 'IQueryable' does not support generation of query strings.

Sharding-Core是否有类似获取sql语句的方法?
或者可以提供一个类似的方法,能够在真正执行前获取到生成sql语句?

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

1 participant