/// <summary> /// 修改 /// </summary> /// <param name="expression"></param> /// <returns></returns> public SqlExpressionCore <T> Update(Expression <Func <object> > expression = null) { sqlGenerate.Clear(); sqlGenerate += $"update {sqlGenerate.TableName} set "; SqlExpressionProvider.Update(expression, sqlGenerate); return(this); }
protected override SqlGenerate Update(LambdaExpression expression, SqlGenerate sqlGenerate) { SqlExpressionProvider.Update(expression.Body, sqlGenerate); return(sqlGenerate); }