//Constructors - This one is the base one called by all others private CohortQueryBuilder(IEnumerable <ISqlParameter> globals, ICoreChildProvider childProvider) { _childProvider = childProvider; globals = globals ?? new ISqlParameter[] {}; _globals = globals.ToArray(); TopX = -1; SQLOutOfDate = true; foreach (ISqlParameter parameter in _globals) { ParameterManager.AddGlobalParameter(parameter); } }
//Constructors - This one is the base one called by all others private CohortQueryBuilder(IEnumerable <ISqlParameter> globals) { globals = globals ?? new ISqlParameter[] {}; _globals = globals.ToArray(); TopX = -1; SQLOutOfDate = true; foreach (ISqlParameter parameter in _globals) { ParameterManager.AddGlobalParameter(parameter); } RecreateHelper(); }