I am wondering why do we need to install EFCORE and it can't be just installed and done with with one install?
I am wondering why do we need to install EFCORE and it can't be just installed and done with with one install?
I am wondering why do we need to install EFCORE and it can't be just installed and done with with one install?
EFCORE can serve as an object-relational mapper (O/RM), enabling .NET developers to work with a database using .NET objects, and eliminating the need for most of the data-access code they usually need to write.
However, not all the projects need this function and VS does not have this job by default. So if you want your project use it, you should install EFCore nuget packages.
About your questions, I think you have two aspects:
1) If you want all your current projects use EFCore projects, you can perform the nuget installation procedure once. Right-click on the solution-->Manage NuGet Packages for Solutions and then select EFCore. After that, choose any projects which you want to install this package.
2) If you want to already install EFCore when you create the project, you can customize a project template which contains this nuget package.
Create a project called projecttemplate, then install EFCore.
choose Project-->Export Template-->Project Template-->select this project
After that, close VS Instance, you can select the project template called projecttemplate in the menu which already contains EFCore.
In addition, when you download the EFCore, it is downloaded only once but stored in a global nuget cache folder. Every time you install the package in your project, you install it directly from the cache folder.