DbFlow 0.0.1-alpha05

This is a prerelease version of DbFlow.
There is a newer version of this package available.
See the version list below for details.
dotnet add package DbFlow --version 0.0.1-alpha05
                    
NuGet\Install-Package DbFlow -Version 0.0.1-alpha05
                    
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="DbFlow" Version="0.0.1-alpha05" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DbFlow" Version="0.0.1-alpha05" />
                    
Directory.Packages.props
<PackageReference Include="DbFlow" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add DbFlow --version 0.0.1-alpha05
                    
#r "nuget: DbFlow, 0.0.1-alpha05"
                    
#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.
#:package DbFlow@0.0.1-alpha05
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=DbFlow&version=0.0.1-alpha05&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=DbFlow&version=0.0.1-alpha05&prerelease
                    
Install as a Cake Tool

DbFlow

DbFlow is a tool with the ambition to help in all stages of developing, testing and releasing databases.

The current version of DbFlow can be used for

  • generate complete scripts for a database schema that can be used for improved version control
  • clone an existing database to a local copy that can be used for unit testing or other

DbFlow supports

  • Microsoft Sql Server

Planned features:

  • Replace need for DbUp
  • Generate documentation from (primary) ms_description
  • Support for PostgreSql

To clone a database:

open Microsoft.Data.SqlClient
open DbFlow
open DbFlow.SqlServer

let options = Options.Default

let logger _message = ()

let srcConnectionStr = ...
let dstConnectionStr = ...

let dbSchema = 
    use connection = new SqlConnection(srcConnectionStr)
    connection.Open()
    Execute.readSchema logger options connection

use connection = new SqlConnection(dstConnectionStr)
connection.Open()
Execute.clone logger options dbSchema connection 

To generate scripts from a database:

open Microsoft.Data.SqlClient
open DbFlow
open DbFlow.SqlServer

let options = Options.Default

let logger _message = ()

let srcConnectionStr = ...
let dstDirectory = ...

let dbSchema = 
    use connection = new SqlConnection(srcConnectionStr)
    connection.Open()
    Execute.readSchema logger options connection

Execute.generateScriptFiles options dbSchema dstDirectory   
Product 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.  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.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
0.10.0 50 4/22/2026
0.9.0 96 4/6/2026
0.8.2 99 3/27/2026
0.8.1 103 3/27/2026
0.8.0 129 2/15/2026
0.7.0 98 2/15/2026
0.6.1 109 2/14/2026
0.6.0 291 11/14/2025
0.5.1 206 10/9/2025
0.5.0 209 10/8/2025
0.4.0 320 9/19/2025
0.3.0 245 8/31/2025
0.2.0-beta01 141 8/23/2025
0.1.0-beta01 144 8/23/2025
0.0.1-alpha07 172 8/22/2025
0.0.1-alpha06 169 8/22/2025
0.0.1-alpha05 193 8/19/2025
0.0.1-alpha04 189 8/19/2025
0.0.1-alpha03 201 8/11/2025
0.0.1-alpha02 204 8/10/2025
Loading failed