Apps72.Dev.Data
5.3.0
.NET Core 2.0
This package targets .NET Core 2.0. The package is compatible with this framework or higher.
.NET Standard 2.0
This package targets .NET Standard 2.0. The package is compatible with this framework or higher.
.NET Framework 4.5
This package targets .NET Framework 4.5. The package is compatible with this framework or higher.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Apps72.Dev.Data --version 5.3.0
NuGet\Install-Package Apps72.Dev.Data -Version 5.3.0
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" Version="5.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Apps72.Dev.Data --version 5.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Apps72.Dev.Data, 5.3.0"
#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 as a Cake Addin #addin nuget:?package=Apps72.Dev.Data&version=5.3.0 // Install Apps72.Dev.Data as a Cake Tool #tool nuget:?package=Apps72.Dev.Data&version=5.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
DatabaseCommand - Simple Object Mapping
Go to https://apps72.com to learn how to use DatabaseCommand.
Introduction
This C# library simplify SQL Queries to external databases, using the standard class DbConnection and DotNetCore. You can use this library to retrieve data from SQL Server, Oracle Server, SQLite, ...
First, create a SqlConnection or an other DbConnection.
using (var cmd = new DatabaseCommand(mySqlConnection))
{
cmd.CommandText = "SELECT ID, Name FROM EMployee";
var all = cmd.ExecuteTable<Employee>(); // List of all employees
var smith = cmd.ExecuteRow<Employee>(); // First employee
var id = cmd.ExecuteScalar<int>(); // ID of first employee
var emps = cmd.Query(" SELECT * FROM Employee WHERE ID > @ID ")
.AddParameter("@ID", 10)
.ExecuteTable<Employee>();
}
Requirements: Microsoft Framework 4.5 (Client Profile) for desktop applications, or SQL Server 2008 R2 for SQL CLR Stored procedures, or .NET Standard 2.0 for .NET Core library.
Basic Samples (video)
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.0 is compatible. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net45 is compatible. 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. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 2.0
- System.Data.Common (>= 4.3.0)
-
.NETFramework 4.5
- No dependencies.
-
.NETStandard 2.0
- System.Data.Common (>= 4.3.0)
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 |
---|---|---|
6.0.2 | 144 | 10/18/2024 |
6.0.1 | 904 | 1/22/2024 |
5.4.3 | 7,219 | 8/3/2021 |
5.4.2 | 929 | 7/19/2021 |
5.4.1 | 916 | 6/9/2021 |
5.4.0 | 912 | 6/8/2021 |
5.3.1 | 961 | 4/20/2021 |
5.3.0 | 915 | 4/12/2021 |
5.2.0 | 892 | 4/12/2021 |
5.1.0 | 883 | 4/12/2021 |
5.0.1 | 1,011 | 1/25/2021 |
5.0.0 | 1,086 | 12/12/2020 |
4.2.4 | 1,225 | 10/7/2020 |
4.2.3 | 2,185 | 10/1/2020 |
4.2.2 | 1,034 | 9/23/2020 |
4.2.1 | 1,109 | 9/21/2020 |
4.2.0 | 1,041 | 9/18/2020 |
4.1.2 | 1,099 | 9/16/2020 |
4.1.1 | 5,513 | 3/18/2020 |
4.1.0 | 1,128 | 3/5/2020 |
4.0.2 | 1,190 | 1/15/2020 |
4.0.1 | 1,090 | 1/13/2020 |
4.0.0 | 1,102 | 12/29/2019 |
3.0.3 | 1,417 | 4/21/2019 |
3.0.2-rc2 | 1,000 | 3/28/2019 |
3.0.1-rc1 | 992 | 3/12/2019 |
3.0.1-beta | 1,018 | 3/5/2019 |
2.7.5 | 1,545 | 8/9/2018 |
2.7.3 | 1,441 | 7/20/2018 |
2.6.0 | 1,633 | 6/14/2018 |
2.5.0 | 1,688 | 2/11/2018 |
2.4.0 | 1,604 | 8/27/2017 |
2.3.2 | 1,576 | 7/24/2017 |
2.3.1 | 1,563 | 7/4/2017 |
2.3.0 | 1,577 | 6/23/2017 |
2.3.0-beta | 1,360 | 6/23/2017 |
2.1.0 | 1,670 | 12/17/2016 |
2.0.0 | 1,637 | 10/10/2016 |
1.5.2 | 1,781 | 3/30/2016 |
1.5.1 | 1,629 | 3/14/2016 |
1.5.0 | 1,657 | 3/14/2016 |
1.4.0 | 1,695 | 1/30/2016 |
1.3.0 | 1,994 | 1/4/2016 |
1.2.0 | 2,232 | 12/13/2015 |