usis.Data.LocalDb 1.1.0

.NET Framework 4.8
dotnet add package usis.Data.LocalDb --version 1.1.0
NuGet\Install-Package usis.Data.LocalDb -Version 1.1.0
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="usis.Data.LocalDb" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add usis.Data.LocalDb --version 1.1.0
#r "nuget: usis.Data.LocalDb, 1.1.0"
#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 usis.Data.LocalDb as a Cake Addin
#addin nuget:?package=usis.Data.LocalDb&version=1.1.0

// Install usis.Data.LocalDb as a Cake Tool
#tool nuget:?package=usis.Data.LocalDb&version=1.1.0

Welcome to the usis LocalDB Class Library

The usis LocalDB Class Library provides a .NET wrapper for the SQL Server Express LocalDB Instance APIs.


All types of the class library are contained in the usis.Data.LocalDb namespace.


usis.Data.LocalDb is available as NuGet Package:


This documentation is available online at and can be download as Compiled HTML Help (.CHM) file.


The following sample lists all LocalDB versions available on the computer:

using System;

namespace usis.Data.LocalDb.Samples
    public static class Operations
        public static void ListVersions()
            using (var manager = Manager.Create())
                foreach (var version in manager.EnumerateVersions())
                    string format;
                    switch (version.Version.Major)
                        case 11:
                            format = "Microsoft SQL Server 2012 ({0})";
                        case 12:
                            format = "Microsoft SQL Server 2014 ({0})";
                        case 13:
                            format = "Microsoft SQL Server 2016 ({0})";
                        case 14:
                            format = "Microsoft SQL Server 2017 ({0})";
                            format = "{0}";
                    Console.WriteLine(format, version.Name);

Release Notes

Release v1.1

  • usis.Data.LocalDb.InstanceInfo now implements IEquatable<InstanceInfo>
  • usis.Data.LocalDb.VersionInfo now implements IEquatable<VersionInfo>
  • Code cleanup
  • Sample code in documentation

Release v1.0 - Initial

This was the initial release.

Product Compatible and additional computed target framework versions.
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.8

    • 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 Downloads Last updated
1.1.0 212 3/8/2023
1.0.0 1,554 6/5/2018

Next Release: usis.Data.LocalDb.InstanceInfo now implements IEquatable<InstanceInfo>; usis.Data.LocalDb.VersionInfo now implements IEquatable<VersionInfo>; Code cleanup and simplification; Sample code in documentation.