Provides utility methods for creating and managing SQL LocalDb instances.
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);Run build.ps1 and you are set.