public ExpressionToSql <T> Update(Expression <Func <object> > expression) { if (expression == null) { throw new ArgumentNullException("expression", "Value cannot be null"); } this.Clear(); this._sqlBuilder.IsSingleTable = true; this._sqlBuilder.AppendFormat("update {0} set ", this._mainTableName); Expression2SqlProvider.Update(expression.Body, this._sqlBuilder); return(this); }