How to return an IQueryable<Something> as an IQueryable<ISomething>
- by Brian David Berman
I have a class Something that implements ISomething. How can I convert/cast from an IQueryable<Something> to an IQueryable<ISomething>. When I try to cast, I am able to compile, but the result of the cast is always NULL.