DbExpressions.DbExpressionFactory.MakeMathematicalFunction C# (CSharp) Method

MakeMathematicalFunction() public method

Creates a new DbDateTimeFunctionExpression.
public MakeMathematicalFunction ( DbMathematicalFunctionExpressionType mathematicalFunctionExpressionType, DbExpression arguments ) : DbMathematicalFunctionExpression
mathematicalFunctionExpressionType DbMathematicalFunctionExpressionType The that specifies the type of to create.
arguments DbExpression A list of instances that is used as arguments when calling the function.
return DbMathematicalFunctionExpression
        public DbMathematicalFunctionExpression MakeMathematicalFunction(DbMathematicalFunctionExpressionType mathematicalFunctionExpressionType, DbExpression[] arguments)
        {
            var mathematicalFunctionExpression = new DbMathematicalFunctionExpression(mathematicalFunctionExpressionType, arguments);
            return mathematicalFunctionExpression;
        }