Esempio n. 1
0
 public void Setup()
 {
     using (IDbConnection dbConnection = SqliteConnectionFactory.Create())
     {
         dbConnection.CreateTable <ProductDto>();
     }
 }
Esempio n. 2
0
 public void TearDown()
 {
     using (IDbConnection dbConnection = SqliteConnectionFactory.Create())
     {
         dbConnection.DeleteAll <ProductDto>();
         dbConnection.DropTable <ProductDto>();
     }
 }