Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rebus-org/dbwrestler

:canned_food: Makes it easy to wrestle MSSQLLocalDB from automated database integration tests
https://github.com/rebus-org/dbwrestler

database localdb microsoft-sql-server

Last synced: 3 days ago
JSON representation

:canned_food: Makes it easy to wrestle MSSQLLocalDB from automated database integration tests

Awesome Lists containing this project

README

        

# DbWrestler

Makes it easy to wrestle with LocalDB.

It's just
```csharp
var localDb = new LocalDb();

var instance = localDb.GetInstance(instanceName: "MSSQLLocalDB");

instance.CreateIfNotExists();

var database = instance.GetDatabase(databaseName: "test_db");

database.CreateIfNotExists();

var connectionString = database.ConnectionString;

// off you go 👍

```
and off you go 👍