>I think you're wrong about needing ToList() at all - the FirstOrDefault() will execute the query. Kevin's original code with the using would work fine
Yeah, I just tested this with the profiler and it appears to run immediately. I guess I assumed it was delayed (but then, it returns a single type not an IQueryable so I guess it would have to run immediately).