Apps72.Dev.Data.SqlServerClr 2.7.5

.NET Framework 4.0
dotnet add package Apps72.Dev.Data.SqlServerClr --version 2.7.5
NuGet\Install-Package Apps72.Dev.Data.SqlServerClr -Version 2.7.5
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="Apps72.Dev.Data.SqlServerClr" Version="2.7.5" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Apps72.Dev.Data.SqlServerClr --version 2.7.5
#r "nuget: Apps72.Dev.Data.SqlServerClr, 2.7.5"
#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 Apps72.Dev.Data.SqlServerClr as a Cake Addin
#addin nuget:?package=Apps72.Dev.Data.SqlServerClr&version=2.7.5

// Install Apps72.Dev.Data.SqlServerClr as a Cake Tool
#tool nuget:?package=Apps72.Dev.Data.SqlServerClr&version=2.7.5

This C# library simplify all SQL Queries to external databases, using the base class DbConnection and DotNetCore. Many implementations are compiled for SQL Server, Oracle Server or SQLite are included.

    var cmd   = new DatabaseCommand(mySqlConnection);

    var all   = cmd.ExecuteTable<Employee>();
    var smith = cmd.ExecuteRow<dynamic>();
    int count = cmd.ExecuteScalar<int>();

    var emps  = cmd.Query(" SELECT * FROM EMP WHERE EMPNO > @ID ")
                   .AddParameter("ID", 10)
                   .ExecuteTable<Employee>();

First, you need to add the .NET Core NuGet packages : https://www.nuget.org/packages/Apps72.Dev.Data.Core Many preconfigured packages are available for SQL Server, Oracle, SQLite or a generic .NET Core library: NuGet Packages.

Next, you need to create a SqlConnection or other database connection. The SqlConnection will be not closed by this library The ConnectionString will instanciated a temporary SqlConnection for this query and will be closed after using.

More on Apps72.Dev.Data Documenation.

Product Versions
.NET Framework net40 net403 net45 net451 net452 net46 net461 net462 net463 net47 net471 net472 net48 net481
Compatible target framework(s)
Additional computed target framework(s)
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
2.7.5 1,002 8/9/2018
2.7.3 795 7/20/2018
2.6.0 904 6/14/2018
2.5.0 999 2/11/2018
2.4.0 896 8/27/2017
2.3.1 900 7/4/2017
2.1.0 990 12/17/2016
2.0.0 930 10/10/2016
1.4.0 1,075 1/30/2016
1.3.0 1,275 1/4/2016
1.2.0 1,022 12/13/2015