mirror of
				https://github.com/Biarity/Sieve.git
				synced 2025-11-04 02:39:00 +01:00 
			
		
		
		
	Handle type mismatch for custom methods
This commit is contained in:
		@@ -294,6 +294,7 @@ namespace Sieve.Services
 | 
			
		||||
                    result = customMethod.Invoke(parent, parameters)
 | 
			
		||||
                        as IQueryable<TEntity>;
 | 
			
		||||
                }
 | 
			
		||||
                catch (ArgumentException) { } // name matched with custom emthod for a differnt type
 | 
			
		||||
                catch (TargetParameterCountException)
 | 
			
		||||
                {
 | 
			
		||||
                    if (optionalParameters != null)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user