public void Setup() { using (IDbConnection dbConnection = new SqliteConnectionFactory().Create()) { var createProduct = new CreateProductTable(); dbConnection.Execute(createProduct.Query()); } }
public void Setup() { using (IDbConnection dbConnection = new SqliteConnectionFactory().Create()) { var createProduct = new CreateProductTable(); dbConnection.Execute(createProduct.Query()); } }
public void Setup() { using (IDbConnection dbConnection = new SqliteConnectionFactory().Create()) { var createProduct = new CreateProductTable(); dbConnection.Execute(createProduct.Query()); InsertProductWithName(dbConnection, FirstProductName); InsertProductWithName(dbConnection, SecondProductName); InsertProductWithName(dbConnection, ThirdProductName); } }
public void Setup() { using (IDbConnection dbConnection = new SqliteConnectionFactory().Create()) { var createProduct = new CreateProductTable(); dbConnection.Execute(createProduct.Query()); InsertProductWithName(dbConnection, FirstProductName); InsertProductWithName(dbConnection, SecondProductName); InsertProductWithName(dbConnection, ThirdProductName); } }