GenericCRUDHelper 1.0.0
dotnet add package GenericCRUDHelper --version 1.0.0
NuGet\Install-Package GenericCRUDHelper -Version 1.0.0
<PackageReference Include="GenericCRUDHelper" Version="1.0.0" />
paket add GenericCRUDHelper --version 1.0.0
#r "nuget: GenericCRUDHelper, 1.0.0"
// Install GenericCRUDHelper as a Cake Addin #addin nuget:?package=GenericCRUDHelper&version=1.0.0 // Install GenericCRUDHelper as a Cake Tool #tool nuget:?package=GenericCRUDHelper&version=1.0.0
GenericCRUDHelper allows us to connect with different databases using the provided connection string. We support MS SQL, MySQL, PostgreSQL, SQLite, and AS400. This tool enables us to connect to various databases with a single connector and supports both asynchronous and synchronous CRUD operations. We developed this package in .NET Standard 2.1, making it configurable for both .NET Framework and .NET Core. Getting started Prerequisites This package needs to be installed, and the database connection string and database type must be configured in the helper class. Usage This package can be used to connect to different databases such as MS SQL, MySQL, PostgreSQL, SQLite, and AS400 with a single connector. It supports CRUD operations by simply configuring the helper class (DatabaseHelper) with the required connection string and database type configured. To use this package in your application, you will typically need to configure the helper class (DatabaseHelper) in your Program.cs file:
Then, you need to inject the helper class (DatabaseHelper) in the location where you want to perform CRUD operations:
And then you can use the CRUD operation methods those are available in the helper class (class DatabaseHelper):
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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Dapper (>= 2.1.35)
- IBM.Data.DB2.iSeries (>= 7.1.0)
- Microsoft.Data.SqlClient (>= 5.2.2)
- Microsoft.Data.Sqlite (>= 9.0.0)
- Microsoft.Extensions.Logging (>= 9.0.0)
- MySql.Data (>= 9.1.0)
- Npgsql (>= 8.0.3)
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.0 | 58 | 1/17/2025 |