Implement Linq querying by id.