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

Query: ColumnMappings to use for TVF/FromSql #21511

Closed
smitpatel opened this issue Jul 3, 2020 · 1 comment · Fixed by #21722
Closed

Query: ColumnMappings to use for TVF/FromSql #21511

smitpatel opened this issue Jul 3, 2020 · 1 comment · Fixed by #21722
Assignees
Labels
area-query closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. type-bug
Milestone

Comments

@smitpatel
Copy link
Member

SelectExpression has a ctor (also associated public method in SqlExpressionFactory) which takes the TableExpressionBase which acts as the source of the data. This is used for scenarios like TVF/FromSql (which currently works with TPH or non-hierarchy only).
We need to determine which column mappings to use when generating columns from database, since this code path is encountered while not using any particular entity type mapping from model.

@smitpatel
Copy link
Member Author

Blocked on #13358 for FromSql part.

@smitpatel smitpatel removed the blocked label Jul 21, 2020
smitpatel added a commit that referenced this issue Jul 21, 2020
@smitpatel smitpatel added the closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. label Jul 21, 2020
smitpatel added a commit that referenced this issue Jul 21, 2020
smitpatel added a commit that referenced this issue Jul 22, 2020
@ajcvickers ajcvickers modified the milestones: 5.0.0, 5.0.0-rc1 Aug 14, 2020
@ajcvickers ajcvickers modified the milestones: 5.0.0-rc1, 5.0.0 Nov 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-query closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. type-bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants