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

Deprecate defining query at Core level #21622

Merged
merged 1 commit into from
Jul 15, 2020
Merged

Deprecate defining query at Core level #21622

merged 1 commit into from
Jul 15, 2020

Conversation

AndriySvyryd
Copy link
Member

Fixes #18903

.ToQuery(
() => context.Set<Bird>()
.Select(b => MaterializeView(b)));
InMemoryEntityTypeBuilderExtensions.ToQuery(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ToQuery directly on entity type builder does not work?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's ambiguous until the obsoleted method is removed

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's discuss in design meeting.

Copy link
Member

@smitpatel smitpatel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also file an issue for me to clean up the code in the test, especially moving the tests which are using ToQuery in non-inmemory tests.

@ghost
Copy link

ghost commented Jul 14, 2020

Hello @AndriySvyryd!

Because this pull request has the auto-merge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@AndriySvyryd
Copy link
Member Author

Can you also file an issue for me to clean up the code in the test, especially moving the tests which are using ToQuery in non-inmemory tests.

@smitpatel #21624

@ajcvickers
Copy link
Member

@AndriySvyryd @smitpatel Should we put this in preview 8?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Consider deprecating defining query
3 participants