static internal EntityDataSourceQueryBuilder <DbDataRecord> Create(DataSourceSelectArguments arguments,
                                                                    string commandText, ObjectParameter[] commandParameters,
                                                                    string whereExpression, ObjectParameter[] whereParameters, string entitySetQueryExpression,
                                                                    string selectExpression, string groupByExpression, ObjectParameter[] selectParameters,
                                                                    OrderByBuilder orderByBuilder,
                                                                    string includePaths)
 {
     return(new EntityDataSourceRecordQueryBuilder(arguments,
                                                   commandText, commandParameters,
                                                   whereExpression, whereParameters, entitySetQueryExpression,
                                                   selectExpression, groupByExpression, selectParameters,
                                                   orderByBuilder,
                                                   includePaths));
 }
 private EntityDataSourceObjectQueryBuilder(DataSourceSelectArguments arguments,
                                            string commandText, ObjectParameter[] commandParameters,
                                            string whereExpression, ObjectParameter[] whereParameters, string entitySetQueryExpression,
                                            string selectExpression, string groupByExpression, ObjectParameter[] selectParameters,
                                            OrderByBuilder orderByBuilder,
                                            string includePaths)
     : base(arguments,
            commandText, commandParameters,
            whereExpression, whereParameters, entitySetQueryExpression,
            selectExpression, groupByExpression, selectParameters,
            orderByBuilder,
            includePaths)
 {
 }
 protected EntityDataSourceQueryBuilder(DataSourceSelectArguments arguments,
                                        string commandText, ObjectParameter[] commandParameters,
                                        string whereExpression, ObjectParameter[] whereParameters, string entitySetQueryExpression,
                                        string selectExpression, string groupByExpression, ObjectParameter[] selectParameters,
                                        OrderByBuilder orderByBuilder,
                                        string includePaths)
 {
     _arguments                = arguments;
     _commandText              = commandText;
     _commandParameters        = commandParameters;
     _whereExpression          = whereExpression;
     _whereParameters          = whereParameters;
     _entitySetQueryExpression = entitySetQueryExpression;
     _orderByBuilder           = orderByBuilder;
     _includePaths             = includePaths;
 }