# ParallelRowMappingOptions

Controls bounded, ordered parallel projection from a forward-only data reader.

Class 

`OfficeIMO.Data`

**Namespace**

`OfficeIMO.Data`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[ParallelRowMapping.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Data/ParallelRowMapping.cs#L15)

**Modifiers**

sealed

Controls bounded, ordered parallel projection from a forward-only data reader.

## Inheritance

- object
- ParallelRowMappingOptions

## Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Accepted by parameters 1

- Method [ParallelRowMappingExtensions.RowsAsParallel``1](/api/core/officeimo-data-parallelrowmappingextensions/#method-rowsasparallel-data-common-dbdatareader-officeimo-data-parallelrowmappingoptions-threading-cancellationtoken) parameter `options`

Filter members 

Show inherited

## Constructors

`public ParallelRowMappingOptions()` [#](#constructor-ctor)

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public int? MaxDegreeOfParallelism { get; set; }` [#](#property-maxdegreeofparallelism)

[ParallelRowMapping.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Data/ParallelRowMapping.cs#L15)

Gets or sets the maximum number of row batches projected concurrently. A null value uses Environment.ProcessorCount.

`public int? BatchSize { get; set; }` [#](#property-batchsize)

[ParallelRowMapping.cs:21](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Data/ParallelRowMapping.cs#L21)

Gets or sets the number of source rows copied into each worker batch. A null value lets the source choose its tuned bounded default.

<!-- PowerForge markdown artifact sha256:1F2D477BDB3D60A492D56A5AC4F431AB48A9CE1D6E9955771D77F976D6F84ED7 -->
