Last post Jan 02, 2018 07:18 AM by Brando ZWZ
Jan 02, 2018 02:31 AM|Selvakumar Ramachandran|LINK
I created a web api application using Asp.Net Core 2 and trying to add ADO.Net Entity Data Model in my application (database first approach). But it is missing in web api application template.
I checked it in the Visual Studio 2017 installer; It is not listed in the "Workloads" but it is selected in "Individual Components".
How will I bring it into Asp.Net Core Web Api application?
Jan 02, 2018 07:18 AM|Brando ZWZ|LINK
Hi Selvakumar Ramachandran,
As far as I know, the EF core has removed the ADO.Net Entity Data Model template in the asp.net core now.
If you want to use EF Core on ASP.NET Core with an Existing Database, you should run Scaffold-DbContext command in the Package Manager Console.
More details, you could refer to this