public static void RemoveMessageByLocalIdIfWithoutId(int localId)
 {
     savedMess.Delete(m => m.LocalId == localId && m.Id == 0);
 }
Esempio n. 2
0
 /// <summary>
 /// Delete all the rows that match this query and the given predicate.
 /// </summary>
 public Task <int> DeleteAsync(Expression <Func <T, bool> > predExpr)
 {
     return(WriteAsync(conn => _innerQuery.Delete(predExpr)));
 }
Esempio n. 3
0
 public void DeleteAll()
 {
     _query.Delete(x => true);
 }
Esempio n. 4
0
 public virtual void TearDown()
 {
     connection.Run(testTable.Delete());
 }
Esempio n. 5
0
 public void Delete(Todo todo)
 {
     tasks.Delete(task => task.TodoName == todo.Name);
     database.Delete(todo);
 }