# RowMappingColumnOptions

Controls one explicit column binding in RowMapper<T>.

Class 

`OfficeIMO.Data`

**Namespace**

`OfficeIMO.Data`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[RowMappingColumnOptions.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Data/RowMappingColumnOptions.cs#L11)

**Modifiers**

sealed

Controls one explicit column binding in [RowMapper<T>](/api/core/officeimo-data-rowmapper/).

## Inheritance

- object
- RowMappingColumnOptions

## Usage

Explore 2 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 2

- Method [RowMapper<T>.FromColumns``1](/api/core/officeimo-data-rowmapper/#method-fromcolumns-collections-generic-ireadonlylist-system-string-func-officeimo-data-rowmappingcolumnoptions) parameter `options`
- Method [RowMapper<T>.FromColumn``1](/api/core/officeimo-data-rowmapper/#method-fromcolumn-string-func-officeimo-data-rowmappingcolumnoptions) parameter `options`

Filter members 

Show inherited

## Constructors

`public RowMappingColumnOptions()` [#](#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 bool Optional { get; set; }` [#](#property-optional)

[RowMappingColumnOptions.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Data/RowMappingColumnOptions.cs#L11)

Gets or sets whether a missing source column leaves the model's initialized value unchanged. Present columns still convert and assign normally. Default is false.

`public CultureInfo? Culture { get; set; }` [#](#property-culture)

[RowMappingColumnOptions.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Data/RowMappingColumnOptions.cs#L14)

Gets or sets a culture overriding the reader's conversion culture for this binding.

`public IReadOnlyList<string>? DateTimeFormats { get; set; }` [#](#property-datetimeformats)

[RowMappingColumnOptions.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Data/RowMappingColumnOptions.cs#L20)

Gets or sets additional exact date/time formats overriding the reader's format list. The shared conversion pipeline tries these before ordinary culture-based parsing.

`public Func<object, Type, CultureInfo, ValueTuple<bool, object?>>? TypeConverter { get; set; }` [#](#property-typeconverter)

[RowMappingColumnOptions.cs:27](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Data/RowMappingColumnOptions.cs#L27)

Gets or sets a converter overriding the reader's converter for this binding. Returning false selects built-in conversion; handled results, including null, take precedence. Parallel mapping may invoke the delegate concurrently.

<!-- PowerForge markdown artifact sha256:BEAB05EEFAE1FC619FA2196DB2071F298E2CEBAC4ED4541D110521F5B656470D -->
