SqlClient\Query\SqlMethodCallConverter.cs (6)
1084returnValue = sql.DATEADD("MONTH", mc.Arguments[0], mc.Object);
1088returnValue = sql.DATEADD("YEAR", mc.Arguments[0], mc.Object);
2201result = sql.DATEADD("MILLISECOND", sql.Unary(SqlNodeType.Negate, ms), result);
2202result = sql.DATEADD("SECOND", sql.Unary(SqlNodeType.Negate, ss), result);
2203result = sql.DATEADD("MINUTE", sql.Unary(SqlNodeType.Negate, mi), result);
2204result = sql.DATEADD("HOUR", sql.Unary(SqlNodeType.Negate, hh), result);