Add support for PropertyVisitor and QueryInterceptor

Nov 9, 2012 at 7:38 PM
Edited Nov 9, 2012 at 7:39 PM

Currently when I want to use this, I need to create a new RepositoryEx class and modify the AsQueryable method like this:

public IQueryable<T> AsQueryable()
    return _objectSet.InterceptWith(new PropertyVisitor());

So maybe make the _objectSet protected or make the AsQueryable() method virtual so it can be overridden ?