SqlDump.Sources 1.1.0

Simple SQL Server database dumper. Shipped as source-only NuGet package.

Install-Package SqlDump.Sources -Version 1.1.0
dotnet add package SqlDump.Sources --version 1.1.0
<PackageReference Include="SqlDump.Sources" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SqlDump.Sources --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: SqlDump.Sources, 1.1.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install SqlDump.Sources as a Cake Addin
#addin nuget:?package=SqlDump.Sources&version=1.1.0

// Install SqlDump.Sources as a Cake Tool
#tool nuget:?package=SqlDump.Sources&version=1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

SqlDump

Simple SQL Server database dumper. Shipped as source-only NuGet package.

Installing

  • Package Manager: Install-Package SqlDump.Sources
  • .NET command line: dotnet add package SqlDump.Sources

Example

private void GenerateBackupScript(string connectionString, string outputFile)
{
    var dumper = new SqlDumper.Dumper(connectionString);
    dumper.IgnoredTableNames = new[] { "__EFMigrationsHistory", "sysdiagrams" };
    using (var writer = File.CreateText(outputFile))
    {
        dumper.Dump(writer);
    }
}

See result

Lecacy System.Data.SqlClient

Add SQL_CLIENT_LEGACY to project defines.

SqlDump

Simple SQL Server database dumper. Shipped as source-only NuGet package.

Installing

  • Package Manager: Install-Package SqlDump.Sources
  • .NET command line: dotnet add package SqlDump.Sources

Example

private void GenerateBackupScript(string connectionString, string outputFile)
{
    var dumper = new SqlDumper.Dumper(connectionString);
    dumper.IgnoredTableNames = new[] { "__EFMigrationsHistory", "sysdiagrams" };
    using (var writer = File.CreateText(outputFile))
    {
        dumper.Dump(writer);
    }
}

See result

Lecacy System.Data.SqlClient

Add SQL_CLIENT_LEGACY to project defines.

Dependencies

This package has 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 History

Version Downloads Last updated
1.1.0 1,826 6/15/2020
1.0.0 1,461 4/9/2019
0.0.3 277 3/26/2019
0.0.2 255 3/25/2019
0.0.1 248 3/23/2019