Library.NET.DataAccess
2022.4.4.1
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 Library.NET.DataAccess --version 2022.4.4.1
NuGet\Install-Package Library.NET.DataAccess -Version 2022.4.4.1
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="Library.NET.DataAccess" Version="2022.4.4.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Library.NET.DataAccess --version 2022.4.4.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Library.NET.DataAccess, 2022.4.4.1"
#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 Library.NET.DataAccess as a Cake Addin #addin nuget:?package=Library.NET.DataAccess&version=2022.4.4.1 // Install Library.NET.DataAccess as a Cake Tool #tool nuget:?package=Library.NET.DataAccess&version=2022.4.4.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Library.NET.DataAccess
So far, it has two classes: MsSqlDataAccess
and OdbcDataAccess
. These both implement ISqlDataAccess
& IOdbcDataAccess
, respectively, and can be used for dependancy injection using these interfaces.
Implementing ICustomLogger (Optional)
You can use logging via the ICustomLogger (Library.NET) that comes with this package.
Use:
ICustomLogger logger = new CustomLogger(new FileInfo("logfile.log"), true, LogLevel.Information);
You can then add it to DI as a singleton.
Planned implementations
- MySql
- MongoDb
- PostgreSQL
Outside Dependencies
- Dapper
- Microsoft.Data.SqlClient
- System.Data.Odbc
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0
- Dapper (>= 2.0.123)
- Library.NET.Logging (>= 2022.3.30.1)
- Microsoft.Data.SqlClient (>= 4.1.0)
- System.Data.Odbc (>= 6.0.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 |
---|---|---|
2023.11.18.1 | 264 | 11/18/2023 |
2022.8.21.1 | 415 | 8/22/2022 |
2022.6.2.1 | 433 | 6/2/2022 |
2022.4.5.1 | 450 | 4/5/2022 |
2022.4.4.1 | 429 | 4/4/2022 |