How to connect with SQL Server database using .NET Core Class Library (.NET Standard)?
I have just started to create an ASP.NET Core Web API Project. I am not much aware of "ASP.NET Core .NET Standard Library". I am creating this application using Visual Studio 2017 RC and in the application, I have taken a project of type Class Library (.NET Standard) at repository layer. Following is the screenshot for the same: Now from repository Layer I want to connect to the database. I have created a variable IDbConnection con; Now I am trying to add reference of System.Data but I am unable to add any reference because when I am opening the add reference window then I am getting the