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

JOIN Tables fails in NetCore 3.0 & EF6.3 with Method syntax (but works with Query...) #70

Closed
GuyBenhaim opened this issue Oct 9, 2019 · 4 comments

Comments

@GuyBenhaim
Copy link

Hello,
With EDMX migration code I fail in joining two tables: using Method syntax the properties of the 2nd table do not appear and prevent defining the InnerKeySelctor (Only the External Declaration options appear).
This causes an error and I cannot compile.

Example:
var list = db.PP.Where(pp => pp.F0 == 1).Join(db.OP, pp => pp.F1, op => op. , (pp, op) => new {pp, op}).Select(pp => pp.F3_ID).ToList();
Here for op the properteis do not appear.

Surprisingly, using Query syntax the properties appear and the join is performed ok.

Please advise.

@mrahhal
Copy link
Owner

mrahhal commented Oct 9, 2019

Hello,

.Net Core 3.0 isn't supported yet, I have a couple of problems I still have to solve (but currently at a stalemate as I have no clue how to proceed on this). You can follow the progress at #67.

@mrahhal mrahhal closed this as completed Oct 9, 2019
@GuyBenhaim
Copy link
Author

Hello,
I was actaully referring to the example code that Diego from MS has provided to enable supporting EDMX and .NetCore 3

@mrahhal
Copy link
Owner

mrahhal commented Oct 9, 2019

In that case, I honestly not sure how Migrator.EF6 fits here. This is just a tool to create migration files and has nothing to do with runtime.

@GuyBenhaim
Copy link
Author

ok, thx

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