Example #1
0
 public virtual void DateTimeOffsetAddYearsTest()
 {
     CheckEquality(SqlDml.DateTimeOffsetAddYears(DefaultDateTimeOffset, AddYearsConst), TryTranformToLocalZone(DefaultDateTimeOffset).AddYears(AddYearsConst));
 }
 public static SqlExpression DateTimeOffsetAddYears(SqlExpression _this,
                                                    [Type(typeof(int))] SqlExpression value)
 {
     return(SqlDml.DateTimeOffsetAddYears(_this, value));
 }