Elight.Utility/Extension/SqlSugar/SqlMath.cs

(开头部分) 2KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.Text;

namespace Elight.Utility.Extension.SqlSugar
{
    public class SqlMath
    {
        public static double Abs(double value)
        {
            throw new NotSupportedException("Can only be used in expressions");
        }

        public static double Sin(double value)
        {
            throw new NotSupportedException("Can only be used in expressions");
        }

        public static double Cos(double value)
        {
            throw new NotSupportedException("Can only be used in expressions");
        }

        public static double Asin(double value)
        {
            throw new NotSupportedException("Can only be used in expressions");
        }

        public static double Acos(double value)
        {
            throw new NotSupportedException("Can only be used in expressions");
        }

        public static double Tan(double value)
        {
            throw new NotSupportedException("Can only be used in expressions");
        }

        public static double Atan(double value)
        {

            throw new NotSupportedException("Can only be used in expressions");
        }

        public static double Atan2(double x, double y)
        {
            throw new NotSupportedException("Can only be used in expressions");
        }

        public static double Pow(double x, double y)
        {
            throw new NotSupportedException("Can only be used in expressions");
        }

        public static double Sqrt(double value)
        {
            throw new NotSupportedException("Can only be used in expressions");
        }

        public static double GetDistance(double lat1, double lon1, double lat2, double lon2)
后面还有 24 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。