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

DbContext进行join查询异常. #150

Closed
yzdel2000 opened this issue Dec 8, 2019 · 2 comments
Closed

DbContext进行join查询异常. #150

yzdel2000 opened this issue Dec 8, 2019 · 2 comments

Comments

@yzdel2000
Copy link

图片
使用dbcontext进行innerjoin查询tolist后报异常。如果换成fsql.select的方式,是正常的。
图片

@2881099
Copy link
Collaborator

2881099 commented Dec 8, 2019

.ToList() 之前,使用 .NoTracking() 方法可以临时解决这个问题。

我测试了 ToList 匿名类 确实会这样,已修复待发布

2881099 pushed a commit that referenced this issue Dec 9, 2019
@2881099
Copy link
Collaborator

2881099 commented Dec 9, 2019

版本已发布

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