Note: This routine may have parameter mapping imperfections due to the limited parameter data available in the query's parameter collection.
public sealed DbCommand GetCommand(IQueryable query);