Beispiel #1
0
        /// <inheritdoc />
        public void Delete(Expression <Func <T, bool> > condition)
        {
            Check.NotNull(condition, nameof(condition));

            ISqlExpressionVisitor generator = _provider.GetExpressionVisitor();

            WhereExpression where = generator.GenerateWhereCondition(condition.Body);

            _deleteExpressions.Add(where);
        }