Apps72.Dev.Data 2.7.5

The Dev.Data.SqlDatabaseCommand is a set of components helping C# developers to execute SQL Queries and to retrieve data from SQL Server. It is a light and pragmatic framework that contains only the essential classes needed to create SQL query strings, define parameters and transaction, and execute it to retrieve all data converted in typed objects.

There is a newer version of this package available.
See the version list below for details.
Install-Package Apps72.Dev.Data -Version 2.7.5
dotnet add package Apps72.Dev.Data --version 2.7.5
<PackageReference Include="Apps72.Dev.Data" 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 --version 2.7.5
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

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.

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.

Release Notes

https://github.com/Apps72/Dev.Data#ReleaseNotes

Dependencies

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 History

Version Downloads Last updated
4.2.4 128 10/7/2020
4.2.3 149 10/1/2020
4.2.2 84 9/23/2020
4.2.1 141 9/21/2020
4.2.0 89 9/18/2020
4.1.2 148 9/16/2020
4.1.1 325 3/18/2020
4.1.0 157 3/5/2020
4.0.2 223 1/15/2020
4.0.1 169 1/13/2020
4.0.0 160 12/29/2019
3.0.3 317 4/21/2019
3.0.2-rc2 210 3/28/2019
3.0.1-rc1 203 3/12/2019
3.0.1-beta 223 3/5/2019
2.7.5 396 8/9/2018
2.7.3 376 7/20/2018
2.6.0 485 6/14/2018
2.5.0 488 2/11/2018
2.4.0 457 8/27/2017
2.3.2 453 7/24/2017
2.3.1 445 7/4/2017
2.3.0 447 6/23/2017
2.3.0-beta 428 6/23/2017
2.1.0 553 12/17/2016
2.0.0 495 10/10/2016
1.5.2 630 3/30/2016
1.5.1 529 3/14/2016
1.5.0 529 3/14/2016
1.4.0 559 1/30/2016
1.3.0 718 1/4/2016
1.2.0 882 12/13/2015
Show less