DbFun.Core
1.0.1
dotnet add package DbFun.Core --version 1.0.1
NuGet\Install-Package DbFun.Core -Version 1.0.1
<PackageReference Include="DbFun.Core" Version="1.0.1" />
paket add DbFun.Core --version 1.0.1
#r "nuget: DbFun.Core, 1.0.1"
// Install DbFun.Core as a Cake Addin #addin nuget:?package=DbFun.Core&version=1.0.1 // Install DbFun.Core as a Cake Tool #tool nuget:?package=DbFun.Core&version=1.0.1
DbFun
DbFun is a tool for writing data access code in F# functional way.
It's fast, type safe and gives you full control on your queries.
No custom query DSL enabled - just raw SQL.
Features
- All SQL features available
- Type safety
- High performance
- support for record/tuple/discriminated union parameters
- support for record/tuple/discriminated union results
- Support for parameter and column conversions
- Support for result transformations
- Support for enum types
- Asynchrony
- Template-based queries
- Computation expression for database operations
Supported databases
In its core DbFun does not use any features specific to some db provider, so it works with any ADO.NET provider.
The only limitation is possibility of execution of commands in SchemaOnly
mode.
It was tested against MS SqlServer, PostgreSQL, MySQL and SQLite.
There are extensions, enabling provider-specific features:
- the extension for MS SQL, that allows to use table valued parameters
- the extension for PostgreSQL, making use of array parameters possible and adding more comfortable bulk import mechanism
- the extension for MySQL (when using MySqlConnector) improving use of bulk copy
- the extension for SQLite, that allows to use date and time values
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. |
-
net6.0
- FSharp.Core (>= 7.0.4)
NuGet packages (3)
Showing the top 3 NuGet packages that depend on DbFun.Core:
Package | Downloads |
---|---|
DbFun.NpgSql
Provides PostgreSQL specific extensions to SqlFun. |
|
DbFun.MsSql
Allows to use TVP parameters in DbFun when Microsoft.Data.SqlClient is used. |
|
DbFun.MySqlConnector
Extension to use with MySqlConnector data provider. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Compound type collection parameters.