mirror of
https://github.com/Biarity/Sieve.git
synced 2024-11-25 06:43:34 +01:00
Handle type mismatch for custom methods
This commit is contained in:
parent
3068c476e1
commit
9d0ef79595
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user