Reputation: 181
After installing the community version of Visual Studio 2015, I've run into a problem with my database connector, the ADO.net model. I usually connect to that with EF 5 or 6 depending on whether I'm using MYSQL or SQL Server.
But I've run in to the problem that I simply don't see it anymore. This is what I see:
Compared to Visual Studio 2013:
I've tried reinstalling EF6.
However I can't find out if this is intentional or not. Does anyone have any idea what I should do? I'll obviously stick to VS2013 as of now. But I wanna get working with 2015 asap.
Upvotes: 18
Views: 21356
Reputation: 317
So I found out that if you add the wrong template, then some items won't be available. I added a project of "Class Library (.NET core)". This didn't give me access to the template "ADO.NET Entity Data Model". When I deleted that and added the generic "Class Library" template (which I didn't see the first time) I was able to access the Entity Data Model.
I was using the Visual Studio 2015 Community version.
Upvotes: 3
Reputation: 343
obviously the EF just isn't available for VS 2015 for now... I searched for hours now, but there seems to be no way to get this working. I'll use VS 2013 to update my data model from the database.
check the following link:
http://blogs.msdn.com/b/adonet/archive/2015/03/10/ef6-1-3-rtm-available.aspx
EDIT:
I found a solution :)
Just change your installation of VS 2015 and include the Microsoft SQL Server Data Tools (via Control Panel>Program & Features>VS2015>Change>Customize(? I see the german word there)>Windows- and Webdevelopment>Microsoft SQL Server Data Tools).
This will bring you back the .edmx designer and the ADO.NET model.
Upvotes: 33
Reputation: 13971
Entity Framework is made up of the EF Tools for Visual Studio and the EF Runtime. Installing EF Tools (Entity Framework Tools) can help you find the missing templates .
In order to install newer version you could go to ->
C:\ProgramData\Package Cache
(paste the location to address tab of windows explorer)
you could find some folders in that location search for EFTools.msi
,install the latest(if you find multiple) file .
Second solution is :
EFTools
in /packages..cab
and .msi
files of eftools
C:\Temp
)cmd
in Admin privilege and type : EFTools.msi USING_EXUIH=1 /log "Log.txt"
Upvotes: 3