In my controller I have a query outlined as below:
using (var db = new NorthwindEntities())
        {
            var query = db.Orders
                .Select()
                .OrderBy()
                .Skip()
                .Take();
        }
I would like to get the SQL output of this query.
I have tried using getCommand() but it is saying that NorthwindEntities doesn't have a definition for it. Is there another way to try and get it?