Skip to content

learnwithkawsar/.netcore.mssql.sqlhelper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Core.MSSQL.SqlHelper

Configuring Core.MSSQL.SqlHelper into your ASP.NET Core project is as simple as below:

First install the Core.MSSQL.SqlHelper nuget package into your project as follows:

Install-Package Core.MSSQL.SqlHelper

Then in your startup class register the Core.MSSQL.SqlHelper as follows:

        var connectionString = Configuration.GetConnectionString("LocalDbConnection");
        services.RegisterSqlHelper(connectionString);

After that you can use in your controllers or others

     private readonly ISqlHelperService _sqlHelperService;
    public DemoController(SqlHelperService sqlHelperService)
    {          
        _sqlHelperService = sqlHelperService;

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages