public static SqlExpression DateTimeOffsetSubtractTimeSpan(SqlExpression _this, [Type(typeof(TimeSpan))] SqlExpression value) { return(SqlDml.DateTimeOffsetMinusInterval(_this, value)); }
public virtual void DateTimeOffsetMinusIntervalTest() { CheckEquality(SqlDml.DateTimeOffsetMinusInterval(DefaultDateTimeOffset, OperationTimeSpanConst), TryTranformToLocalZone(DefaultDateTimeOffset) - OperationTimeSpanConst); }
public static SqlExpression DateTimeOffsetOperatorSubtractionTimeSpan( [Type(typeof(DateTimeOffset))] SqlExpression dateTimeTz, [Type(typeof(TimeSpan))] SqlExpression timeSpan) { return(SqlDml.DateTimeOffsetMinusInterval(dateTimeTz, timeSpan)); }