Esempio n. 1
0
        /// <summary>
        /// Конструктор.
        /// </summary>
        public ParallelRecordReader()
        {
            int    parallelism = Environment.ProcessorCount - 1;
            string connectionString
                = IrbisUtilities.GetConnectionString();

            int[] mfnList = _GetMfnList(connectionString);
            _Run
            (
                parallelism,
                connectionString,
                mfnList
            );
        }
Esempio n. 2
0
        /// <summary>
        /// Конструктор.
        /// </summary>
        public ParallelRecordReader
        (
            int parallelism
        )
        {
            string connectionString
                = IrbisUtilities.GetConnectionString();

            int[] mfnList = _GetMfnList(connectionString);
            _Run
            (
                parallelism,
                connectionString,
                mfnList
            );
        }