Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/rebus-org/dbwrestler
- Owner: rebus-org
- Created: 2020-10-26T13:52:36.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-11-20T13:59:24.000Z (about 3 years ago)
- Last Synced: 2024-10-13T07:23:15.082Z (about 1 month ago)
- Topics: database, localdb, microsoft-sql-server
- Language: C#
- Size: 1.67 MB
- Stars: 3
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
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 👍