The repo contains sample code for a custom LInQ provider that can be used to create a Repository that supports creating LInQ queries directly. Check out my blog post on how and why I have created this library: https://dotnetfalcon.com/implementing-the-repository-pattern-with-direct-iqueryable-support/