dotnetcore / dotnetcore/sharding-core

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

Open
#286 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
1.3k
Forks
183
Avg merge
7h 43m
Merged PRs (30d)
1

Description

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

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.