Esempio n. 1
0
        public void DeleteWhere(TableName table, IWhereFragment @where)
        {
            if (table == null) throw new ArgumentNullException(nameof(table));
            if (@where == null) throw new ArgumentNullException(nameof(@where));

            var whereClause = @where.ToSql(_command);
            var call = new DeleteWhereCall(table, whereClause);
            _calls.Add(call);
        }
Esempio n. 2
0
 public void DeleteWhere(string tableName, IWhereFragment @where)
 {
     var whereClause = @where.ToSql(_command);
     var call = new DeleteWhereCall(tableName, whereClause);
     _calls.Add(call);
 }