mirror of
				https://github.com/nsnail/FreeSql.git
				synced 2025-11-04 17:20:49 +08:00 
			
		
		
		
	- 完善 ExpressionCall 自定义表达式功能;
This commit is contained in:
		@@ -583,7 +583,7 @@ namespace FreeSql.Internal
 | 
			
		||||
                            var sqlRet = exp3.Method.Invoke(null, exp3InvokeParams);
 | 
			
		||||
                            if (string.IsNullOrEmpty(ecc.Result) && sqlRet is string) ecc.Result = string.Concat(sqlRet);
 | 
			
		||||
                            if (string.IsNullOrEmpty(ecc.Result)) ecc.Result = ecc.ParsedContent[exp3MethodParams[0].Name];
 | 
			
		||||
                            if (ecc.UserParameters.Any()) tsc.dbParams?.AddRange(ecc.UserParameters);
 | 
			
		||||
                            if (ecc?.UserParameters.Any() == true) tsc.dbParams?.AddRange(ecc.UserParameters);
 | 
			
		||||
                            return ecc.Result;
 | 
			
		||||
                        }
 | 
			
		||||
                        finally
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user