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

Feature Request: pre-generated views for EF Core 2 #698

Closed
gtrbarbarian opened this issue Apr 16, 2018 · 7 comments
Closed

Feature Request: pre-generated views for EF Core 2 #698

gtrbarbarian opened this issue Apr 16, 2018 · 7 comments

Comments

@gtrbarbarian
Copy link

Hi, I'm wondering if pre-generated view creation is going to be added to this tool in the future as it exists in the EF6 version of these tools? I can't find anything on the web about this topic.

Database engine: SQL Server

Visual Studio or SSMS version: (e.g. Visual Studio 2017 15.5.7)

@ErikEJ
Copy link
Owner

ErikEJ commented Apr 16, 2018

That feature does not exist in EF Core - are you having performance issues?

@ErikEJ ErikEJ closed this as completed Apr 16, 2018
@gtrbarbarian
Copy link
Author

Just upon first query, per usual with EF with large schemas. I guess I need to delve into the EF core source to see how it is performing initial loading. So this feature is not part of EF core due to the way initial DBContext loading is done? (i.e. initial context loading is done differently than EF6 and hence is not needed, or it just hasn't been created yet for EF Core 2). I appreciate your tutelage !

@ErikEJ
Copy link
Owner

ErikEJ commented Apr 18, 2018

have you tried the latest preview -I know some performance effort was done there (2.1 preview2)

@smbolt
Copy link

smbolt commented Sep 20, 2018

ErikEJ - like gtrbarbarian above, I am researching the topic of pre-generated views in EF Core. Can you address the question of whether such a mechanism exists in EF Core as it did in EF6?

@ErikEJ
Copy link
Owner

ErikEJ commented Sep 20, 2018

@smbolt I already did: #698 (comment) - it does not exist

@smbolt
Copy link

smbolt commented Sep 20, 2018

Thanks so much for your response. Can you tell me if there is a parallel concern with EF Core with "startup costs" that are concerning enough that a mechanism such as the EF6 pre-compiled views might be warranted?

@ErikEJ
Copy link
Owner

ErikEJ commented Sep 20, 2018

There are discussions here: dotnet/efcore#1906 and here: dotnet/efcore#9347

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

3 participants