Retrieves a DbCommand from an IQueryable.

Note: This routine may have parameter mapping imperfections due to the limited parameter data available in the query's parameter collection.