using System; using System.Linq; using System.Linq.Expressions; using Microsoft.EntityFrameworkCore; namespace Luticate2.Auth.Utils.Business.Converters.ObjectConverterDescriptor { public class LuObjectConverterDescriptorQueryable : LuObjectConverterDescriptor { public LuObjectConverterDescriptorQueryable() { AddDynamicMethodConverterTemplate( (Expression, Expression>, bool>>)((source, filter) => source.Any(filter))); AddDynamicMethodConverterTemplate( (Expression, Expression>, IQueryable>>)((source, filter) => source.Where(filter))); } } }