Optimization code

This commit is contained in:
sunkaixuan
2017-11-08 16:06:56 +08:00
parent 967196c4c9
commit e41dab0656

View File

@@ -41,6 +41,8 @@ namespace SqlSugar
case ExpressionType.Multiply:
case ExpressionType.MultiplyChecked:
return "*";
case ExpressionType.Coalesce:
throw new Exception("Expression no support ?? ,Use SqlFunc.IsNull");
default:
Check.ThrowNotSupportedException(string.Format(ErrorMessage.OperatorError, expressiontype.ToString()));
return null;