public DatabaseTests() { var builder = new SqlConnectionStringBuilder(); builder.DataSource = "localhost"; builder.InitialCatalog = "master"; builder.UserID = "sa"; builder.Password = "******"; _masterCs = builder.ToString(); using (var masterCon = new DataConnection(ProviderName.SqlServer2014, _masterCs)) { masterCon.Execute("CREATE DATABASE Linq2dbTests"); } builder.InitialCatalog = "Linq2dbTests"; _dbCs = builder.ToString(); using (var con = new TestDb(ProviderName.SqlServer2014, _dbCs)) con.CreateTable <CtTest>(); }