When using LINQ to SQL, I can use the DataContext.GetCommand method to get a DbCommand instance for an IQueryable. Now I'm using Entity Framework (code-first, but that shouldn't matter) and I want to get a DbCommand from an IQueryable that I generated against my DbContext.
Is this possible? If so how?