hello.

i would like to use labda expression for initial and remote filters of
continousquery. simething like this:

[Serializable]

    public class ScanQueryFilter3 :ICacheEntryFilter<int, Employee>

    {

        private readonly Expression<Func<ICacheEntry<int, Employee>, bool>>
_pdct;



        public ScanQueryFilter3(Expression<Func<ICacheEntry<int, Employee>,
bool>> pdct)

        {

            _pdct = pdct;

        }



        public bool Invoke(ICacheEntry<int, Employee> entry)

        {

            return _pdct.Compile().Invoke(entry);

        }

    }
is it possible? do you have examples?

Reply via email to