Implements the IMethodCallTransformer interface for the DateTime.Add(TimeSpan) family of methods.

Calls to those methods are represented as calls to the DATEADD SQL function. For DateTime.AddYears and DateTime.AddMonths, we use DATEADD (year, ...) and DATEADD (month, ...) respectively. For the other methods, we convert the given number to whole milliseconds and call DATEADD (millisecond, ...). (Converting to milliseconds directly corresponds to the in-memory behavior. E.g., AddDays (12.5) always adss 12.5 * 24 hours, not respecting DST changes or something like this.)

DateTime.Add only supports constant values, all the other methods also support column values.

Inheritance: IMethodCallTransformer
 public void SetUp ()
 {
   _dateTimeInstance = Expression.Constant (new DateTime (2012, 12, 17));
   _transformer = new DateTimeAddMethodCallTransformer();
 }