示例#1
0
 /// <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);
 }
示例#2
0
 protected override SqlGenerate Update(LambdaExpression expression, SqlGenerate sqlGenerate)
 {
     SqlExpressionProvider.Update(expression.Body, sqlGenerate);
     return(sqlGenerate);
 }