Innobate.DAM
1.0.0
dotnet add package Innobate.DAM --version 1.0.0
NuGet\Install-Package Innobate.DAM -Version 1.0.0
<PackageReference Include="Innobate.DAM" Version="1.0.0" />
paket add Innobate.DAM --version 1.0.0
#r "nuget: Innobate.DAM, 1.0.0"
// Install Innobate.DAM as a Cake Addin #addin nuget:?package=Innobate.DAM&version=1.0.0 // Install Innobate.DAM as a Cake Tool #tool nuget:?package=Innobate.DAM&version=1.0.0
DAM
A smiple Data Access Manager for ADO.Net
- Available on nuget: https://www.nuget.org/packages/Innobate.DAM
Ever just wanted to execute a bit of SQL without jumping through the hoops imposed by other frameworks?
Then DAM is for you.
You provide DAM with the SQL to be executed.
Supported Frameworks
- .NET Core 2.1
- .NET Core 3.0
- .NET Core 3.1
- .NET 4.0
- .NET 4.5
Performance This is a pure SQL solution having no performance overheads like ORMs, Entity or other frameworks.
Learning Curve If you know SQL and how to code in .NET, just USE
Examples
- Examples can be found in the following repository:- https://github.com/innobate/DAM-Examples
Example connection to SQL Server
var connection = System.Configuration.ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString;
var dbManager = new DataAccessManager("System.Data.SqlClient", connection);
var country = dbManager.Select("Select * from Country ;");
Example connection to SQLite
var connection = System.Configuration.ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString;
var dbManager = new DataAccessManager("System.Data.SQLite", connection);
var country = dbManager.Select("Select * from Country ;");
Example connection to MySQL
var connection = System.Configuration.ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString;
var dbManager = new DataAccessManager("MySql.Data.MySqlClient", connection);
var country = dbManager.Select("Select * from Country ;");
Example connection to SQLite
var connection = System.Configuration.ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString;
var dbManager = new DataAccessManager("System.Data.SQLite", connection);
var country = dbManager.Select("Select * from Country ;");
Example connection to Oracle
var connection = System.Configuration.ConfigurationManager.ConnectionStrings["ConnectionString"].ConnectionString;
var dbManager = new DataAccessManager("Oracle.DataAccess.Client", connection);
var country = dbManager.Select("Select * from Country ;");
Using parameters in queries
var connection = "Server=.//;Initial Catalog=CountriesDB;integrated security=True;Connection Timeout=3000;"
var dbManager = new DataAccessManager("System.Data.SqlClient", connection);
var countries = dbManager.Select("Select * from Country where CountryId > @countryId;", new DatabaseParameter("@countryId", 100));
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.1 is compatible. netcoreapp2.2 was computed. netcoreapp3.0 is compatible. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
.NET Framework | net40 is compatible. net403 was computed. 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 | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETCoreApp 2.1
- No dependencies.
-
.NETCoreApp 3.0
- No dependencies.
-
.NETFramework 4.0
- No dependencies.
-
.NETFramework 4.5
- No dependencies.
-
.NETStandard 2.1
- 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.0 | 563 | 4/3/2020 |