42d41 < private readonly Dictionary _memberValues = new Dictionary(); 84,93c83,84 < //where.Append(" row_count() > 0 and "); < //where.Append(((DbUpdateCommandTree)tree).Predicate.Accept(this)); < < where.Append(" row_count() > 0"); < EntitySetBase table = ((DbScanExpression)tree.Target.Expression).Target; < foreach(EdmMember keyMember in table.ElementType.KeyMembers) { < SqlFragment value = _memberValues[keyMember]; < where.Append(String.Format(" AND `{0}`=", keyMember)); < where.Append(value); < } --- > where.Append(" row_count() > 0 and "); > where.Append( ((DbUpdateCommandTree)tree).Predicate.Accept(this) ); 114c105 < _memberValues.Add(_columnsVisited.Pop(), f.Right); --- > _columnsVisited.Pop();