Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

RowMapper`1

Namespace OfficeIMO.Data
Assembly OfficeIMO.Core
Modifiers sealed

Defines explicit, AOT-friendly column assignments for a typed row.

Inheritance

  • Object
  • RowMapper`1

Usage

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

Accepted by parameters

Type Parameters

T

Constructors

Methods

FromColumns``1 2 overloads
public RowMapper<T> FromColumns<TValue>(IReadOnlyList<String> columnNames, Func<T, TValue, T> assign) #
Returns: RowMapper<T>

Binds the first matching column name or alias to an assignment delegate.

Type Parameters

TValue

Parameters

columnNames System.Collections.Generic.IReadOnlyList{System.String} requiredposition: 0
assign System.Func{`0,``0,`0} requiredposition: 1
public RowMapper<T> FromColumns<TValue>(IReadOnlyList<String> columnNames, Func<T, TValue, T> assign, RowMappingColumnOptions options) #
Returns: RowMapper<T>

Binds the first matching alias with per-column conversion or missing-column controls.

Type Parameters

TValue

Parameters

columnNames System.Collections.Generic.IReadOnlyList{System.String} requiredposition: 0
assign System.Func{`0,``0,`0} requiredposition: 1
options OfficeIMO.Data.RowMappingColumnOptions requiredposition: 2
FromColumn``1 2 overloads
public RowMapper<T> FromColumn<TValue>(String columnName, Func<T, TValue, T> assign) #
Returns: RowMapper<T>

Binds a named column to an assignment delegate.

Type Parameters

TValue

Parameters

columnName System.String requiredposition: 0
assign System.Func{`0,``0,`0} requiredposition: 1
public RowMapper<T> FromColumn<TValue>(String columnName, Func<T, TValue, T> assign, RowMappingColumnOptions options) #
Returns: RowMapper<T>

Binds a named column with per-column conversion or missing-column controls.

Type Parameters

TValue

Parameters

columnName System.String requiredposition: 0
assign System.Func{`0,``0,`0} requiredposition: 1
options OfficeIMO.Data.RowMappingColumnOptions requiredposition: 2