Home :: News ::

LocalDb API - Nuget

13th, August 2013
So I wanted to play with LocalDb as it seems perfect for usage on a dev machine without having to install all of the SQL bloat that a normal installation requires. What I want is the ability, from code, to spin up a new LocalDb instance so I can keep all of my Dev/Testing code completely separate. Obviously I could just create different databases on the same instance of LocalDb but that doesn't sound as elegant as automatically keeping testing and dev completely separate.

I quickly wrote a wrapper for LocalDb that would simply Create/Delete/Start/Stop instances of LocalDb, it seems to work fine for my Integration tests.

Also, I have not only open sourced this project, but published it on Nuget J

Nuget
Source

0 Comments Posted by Simon Colmer

Comments:


No comments found
Add a comment
Name:
Email:
Comment:
Security:
X-Volt Studios, Copyright 2009. ©