EasySqlConnection 1.0.1

dotnet add package EasySqlConnection --version 1.0.1
NuGet\Install-Package EasySqlConnection -Version 1.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="EasySqlConnection" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add EasySqlConnection --version 1.0.1
#r "nuget: EasySqlConnection, 1.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install EasySqlConnection as a Cake Addin
#addin nuget:?package=EasySqlConnection&version=1.0.1

// Install EasySqlConnection as a Cake Tool
#tool nuget:?package=EasySqlConnection&version=1.0.1

EasySqlConnection

EasySqlconnect ec = new EasySqlconnect(@"data source=server;initial catalog=dbname;userid=username;password=password");

        ///This is for Execute Normal Queries
        DataTable SimpleQuery = new DataTable();
        ec.SqlQuery("select * from documents");
        SimpleQuery = ec.QueryExecuteReturnToDatatable();
        ec.ExecureQueryOnly();


        //This is For Execute StoreProcedures and Finctions
        DataTable StoreProcedureValue = new DataTable();
        object[] Parameters = { "@Username", "@Password" };
        object[] values = { "demo", "demo" };

        ec.SqlQuery("Sp_name", Parameters, values);
        ec.ExecuteStoreProcedure();

        StoreProcedureValue = ec.QueryExecuteReturnToDatatable(); //just Return table as datatable
        StoreProcedureValue = ec.QueryExecuteAndReturnToExcelSheet(@"D:\filename.xls"); //Convert the Fetched value as ExcelSheet
Product Compatible and additional computed target framework versions.
.NET Framework net20 is compatible.  net35 was computed.  net40 was computed.  net403 was computed.  net45 was computed.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 664 4/29/2019
1.0.0 544 4/29/2019

Easy SqlConnection Provider. Make your coding work as easy.