Method GetById and SingleResult
You can wrap the single entity into an IQueryable.  Something like this should work:

SingleResult.Create(new[]{entity}.AsQueryable());


You could write a helper function that uses this trick to convert from a single T to an IQueryable&lt;T&gt;.  There may even be a built-in way of doing this.