public valueType Update <returnType>(int identity, bool isIgnoreTransaction, params Expression <Func <modelType, returnType> >[] expressions) { return(expressions.Length != 0 ? Update(identity, SqlTool.UpdateExpression(expressions), isIgnoreTransaction) : null); }
public valueType Update <returnType>(int identity, Expression <Func <modelType, returnType> > expression, returnType returnValue, bool isIgnoreTransaction = false) { return(expression != null?Update(identity, SqlTool.UpdateExpression(expression, returnValue), isIgnoreTransaction) : null); }