public void TestExecute() { var options = new UniqueDbConnectionProviderOptions("ws2012sqlexp1\\sqlexpress", "autodisposedatabase"); var connectionProvider = new UniqueDbConnectionProvider(options); using (connectionProvider.ToSelfDeletingDisposable()) { connectionProvider.CreateDatabase(); connectionProvider.ExecuteNonDapper("Use [" + connectionProvider.DatabaseName + "]"); } }