DbExpressions.DbExpressionFactory.AddSeconds C# (CSharp) Method

AddSeconds() public method

Creates a DbDateTimeFunctionExpression that represents adding the specified number of seconds to the target date time.
public AddSeconds ( DbExpression target, DbExpression numberExpression ) : DbDateTimeFunctionExpression
target DbExpression A that represents the target date time.
numberExpression DbExpression A that represents the number of seconds to add.
return DbDateTimeFunctionExpression
        public DbDateTimeFunctionExpression AddSeconds(DbExpression target, DbExpression numberExpression)
        {
            return MakeDateTimeFunction(DbDateTimeFunctionExpressionType.AddSeconds, new[] { target, numberExpression });
        }