DbExpressions.DbExpressionFactory.Atan2 C# (CSharp) Method

Atan2() public method

Creates a DbMathematicalFunctionExpression that represents returning the angle, in radians, between the positive x-axis and the ray from the origin to the point (y, x), where x and y are the values of the two specified float expressions.
public Atan2 ( DbExpression x, DbExpression y ) : DbMathematicalFunctionExpression
x DbExpression A that represents a numeric value (x).
y DbExpression A that represents a numeric value (y).
return DbMathematicalFunctionExpression
        public DbMathematicalFunctionExpression Atan2(DbExpression x, DbExpression y)
        {
            return MakeMathematicalFunction(DbMathematicalFunctionExpressionType.Atan2, new[] { x, y });
        }