Skip to content

csgsolutions/Csg.Extensions.Testing.SqlLocalDb

Repository files navigation

Introduction

Provides utility methods for creating and managing SQL LocalDb instances.

Using the Library

Install the NuGet Package Csg.Extensions.Testing.SqlLocalDb

Sample Code:

	string instanceName = "Test"
	string connStr = LocalDbHelper.CreateInstance(s_instanceName);

	// do stuff with the database

    LocalDbHelper.DeleteInstance(databaseName, s_instanceName);

Build and Test

Run build.ps1 and you are set.

About

Utilities for managing SqlLocalDb in integration testing scenarios

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors