Exemplo n.º 1
0
 public int DeleteAll()
 {
     using (var context = new TreeMonDbContext(_dbConnectionKey))
     {
         string table = context.GetTableName <LogEntry>();
         return(context.ExecuteNonQuery("DELETE FROM " + table, null));
     }
 }