public static void RemoveMessageByLocalIdIfWithoutId(int localId) { savedMess.Delete(m => m.LocalId == localId && m.Id == 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))); }
public void DeleteAll() { _query.Delete(x => true); }
public virtual void TearDown() { connection.Run(testTable.Delete()); }
public void Delete(Todo todo) { tasks.Delete(task => task.TodoName == todo.Name); database.Delete(todo); }