mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-11-09 10:55:02 +08:00
Optimization code
This commit is contained in:
@@ -41,6 +41,8 @@ namespace SqlSugar
|
|||||||
case ExpressionType.Multiply:
|
case ExpressionType.Multiply:
|
||||||
case ExpressionType.MultiplyChecked:
|
case ExpressionType.MultiplyChecked:
|
||||||
return "*";
|
return "*";
|
||||||
|
case ExpressionType.Coalesce:
|
||||||
|
throw new Exception("Expression no support ?? ,Use SqlFunc.IsNull");
|
||||||
default:
|
default:
|
||||||
Check.ThrowNotSupportedException(string.Format(ErrorMessage.OperatorError, expressiontype.ToString()));
|
Check.ThrowNotSupportedException(string.Format(ErrorMessage.OperatorError, expressiontype.ToString()));
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
Reference in New Issue
Block a user