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

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

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