DatabaseUtil 0.4.0
dotnet add package DatabaseUtil --version 0.4.0
NuGet\Install-Package DatabaseUtil -Version 0.4.0
<PackageReference Include="DatabaseUtil" Version="0.4.0" />
paket add DatabaseUtil --version 0.4.0
#r "nuget: DatabaseUtil, 0.4.0"
// Install DatabaseUtil as a Cake Addin #addin nuget:?package=DatabaseUtil&version=0.4.0 // Install DatabaseUtil as a Cake Tool #tool nuget:?package=DatabaseUtil&version=0.4.0
DatabaseUtil
Has a bunch of useful utilities to make working with databases easier. Works best when used with the source generator, DatabaseUtil.SourceGenerator.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. 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. |
-
net8.0
- 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.
- DbVal<T> added. This type helps differentiate between no results, a null result, an actual result, or the incorrect type.
- IDbParamApplicator's methods ApplyTo renamed to ApplyParameters.
- DbConnection extension method overloads added which accept IDbParamApplicator and parameters, to create a command with parameters applied.
- DbConnection extension method overloads "ExecuteScalarAs" added. This works much like ExecuteScalar, but wraps the result type in a DbVal<T>.
- DbConnection extension method overloads "ExecuteFirstOrDefault" added. This helps use the ReadFirstOrDefaultType methods that DatabaseUtil.SourceGen generates.