I have this sample code:
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using Models; namespace MySampleNamespace {
Ensure that the correct project is selected in the "Default Project" dropdown, and then type the command below :
install-package microsoft.entityframeworkcore.sqlserver