Ejemplo n.º 1
0
        //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);
            }
        }
Ejemplo n.º 2
0
        //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();
        }