Update exp to sql

This commit is contained in:
sunkaixuan
2022-12-13 16:39:20 +08:00
parent 0b84219d46
commit b507e16be6

View File

@@ -9,6 +9,14 @@ namespace SqlSugar
{
public partial class SqlFunc
{
public static int CompareTo(decimal numA, decimal numB)
{
throw new NotSupportedException("Can only be used in expressions");
}
public static int CompareTo(int numA, int numB)
{
throw new NotSupportedException("Can only be used in expressions");
}
public static int CompareTo(string strA, string strB)
{
throw new NotSupportedException("Can only be used in expressions");