14 October 2021

usesqlserver not found .net core

 

First install the Microsoft.EntityFrameworkCore.SqlServer using NuGet Package like below

PM > Install-Package Microsoft.EntityFrameworkCore.SqlServer


Then, import the namespace in file

using Microsoft.EntityFrameworkCore;

No comments:

Post a Comment