zzz projects Entity Framework Core EF Core
Home Articles Knowledge Base Online Examples
  • Home
  • Articles
  • Knowledge Base
  • Online Examples

Entity Framework Core - Knowledge Base (KB)

15 results in tag: visual-studio-code

How to use EF7 from VSCode in Mac?

I'm new to C# and I'm trying to connect to a DB preferably PostgreSQL (or do I must use MS SQL?). How do I do that in VSCode and Mac (using dnx CLI)?
c# entity-framework-core postgresql visual-studio-code
asked by Tingan Ho

How can I install and use Entity Framework Core in Visual Studio Code?

I have already created the initial asp.net mvc web application template in visual studio code. And I can run the application in a browser at localhost:5000/ I can also see the views, controllers, viewmodels like the previous asp.net mvc core....Now, how ...
asp.net-core-mvc entity-framework-core visual-studio-code
asked by Alexander

.NET Core 1.0 and EntityFramework 7 Not Compatible

I've upgraded to Visual Studio Code 1.0.0 and I'm trying to retrofit an ASP.NET Core project I was working on in VSCode previously, before the new release. VSCode is seemingly quite different now in terms of configuration. I've worked with ...this tutoria...
.net-core asp.net-core entity-framework-core visual-studio-code
asked by robbpriestley

EntityFrameworkCore how to run "Update-Database" & "Add-Migration" from Visual Studio Code (VSCode)

I am trying EntityFrameworkCore in Visual Studio Code and I want to run "Update-Database" and "Add-Migration' commands, but there is no Package Manager Console in VSCode. what to do?
entity-framework-core visual-studio-code
asked by Mkhairy

How to publish database to Azure using Visual Studio Code on Mac?

I built asp.net MVC Core web app using Visual Studio Code on Mac. The app is working with database (EF) in localhost all along....I have an Azure account with Web App + SQL Database created. Then I have changed the connection string in ...appsetting.json....
asp.net-core azure azure-sql-database entity-framework-core visual-studio-code
asked by Matt

Visual Studio Code Entity Framework Core Add-Migration not recognized

I've used yoman to generate an ASP.Net Core Web API application via the Visual Studio Code Editor. For reference, I followed this tutorial ...here...The API works fine. However, I am trying to use Entity Framework Core Migrations with SQL Server. When ...
c# entity-framework-core visual-studio-code
asked by GreenyMcDuff

No executable found matching command "dotnet-ef" (Csproj)

I started a project on a Mac using VS Code and ASP.NET Core MVC, here is my csproj:... <ItemGroup> <PackageReference Include="Microsoft.AspNetCore" Version="1.1.1" /> <PackageReference Include="Microsoft.AspNetCore.Mvc" Version="1.1.2" /> <Pa...
asp.net-core asp.net-core-mvc entity-framework-core macos visual-studio-code
asked by Yannick Desjardins

Can't Add Migration in Visual Studio Code for EntityFrameworkCore

I'm trying to build a DotNetCore WebApi in Visual Studio Code with EntityFrameworkCore....I've been reading a number of tutorials and I always get stuck at the point where it says:...Run ...Add-Migration InitialCreate...I get the following error:...The te...
asp.net-core entity-framework-core visual-studio-code
asked by mejobloggs

Entity Framework Core can not add migration

Executing ...dotnet ef add migration InitialMigration... command giving this error ...A suitable constructor for type 'Vega.Repository.VegaContext' could not be located. Ensure the type is concrete and services are registered for all parameters of a publi...
.net-core asp.net-core entity-framework-core entity-framework-core-migrations visual-studio-code
asked by Towhid

Code First Entity Framework with ASP.NET Core: Initial migration seems to expect tables already exist

I'm trying to create a Code First Entity Framework ASP.NET Core 2 project in Visual Studio Code. I've been following the ...Create a Web API with ASP.NET Core MVC and Visual Studio Code on Linux, macOS, and Windows... tutorial, which uses an in-memory dat...
asp.net-core-2.0 c# entity-framework-core entity-framework-core-migrations visual-studio-code
asked by ruffin

How to install EF Core into VS Code?

Is it possible to utilize EntityFrameworkCore in VS Code? I've looked around for info on this and it seems that just about every example and tutorial assumes Visual Studio 20xx. Also I don't see Microsoft.EntityFrameworkCore in the Marketplace extensions...
entity-framework-core visual-studio-code
asked by Weej

Setting up a localdb on a Mac using Visual Studio Code

I'm trying to set up a local database on my Mac using VS Code for development purposes. I have installed MariaDB via homebrew, and I can access it through the terminal and play around with it....But how do I get the connection-string to put in to VS Code,...
entity-framework-core localdb macos mariadb visual-studio-code
asked by GoldenRetriever

How to install entity framework core to asp.net core 3 project using visual studio code

I'm creating a new MVC application using visual studio code and I want to add entity framework core to my project. My application is using the latest .net core 3 but when I tried to install package ...Microsoft.EntityFrameworkCore.SqlServer... its show an...
asp.net-core c# entity-framework-core visual-studio-code
asked by codeken

How to add migration in the multi-project solution?

I'm using ...VSCode... and I'm struggling to add my first migration in the "multi-project solution". Usually I was doing one ....csproj... per project, but recently I decided to play with the ....sln... file and I hit the wall while doing migrations. This...
.net-core c# entity-framework-core migration visual-studio-code
asked by Ish Thomas

EF Core migration error with .NET Core Web API in Visual Studio Code

I have a solution with two projects inside Visual Studio Code:...webapi... project called Sample.API...classlib... project called Sample.Data...In Sample.Data, I have these packages installed:...Microsoft.EntityFrameworkCore.Design Microsoft.EntityFramewo...
.net-core asp.net-core-webapi c# entity-framework-core visual-studio-code
asked by nv.snow

Page 1 of 1
  • 1

Prime Library

Performance

  • Entity Framework Extensions
  • Entity Framework Classic
  • Bulk Operations
  • Dapper Plus

Expression Evaluator

  • C# Eval Expression
  • SQL Eval Function
More Projects...

Related

  • EF Extensions Online Benchmark
  • WIN an EF Extensions license
  • EF6 BatchSaveChanges for only $79
Get monthly updates by subscribing to our newsletter!
SUBSCRIBE!