Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

RowMapper<T>

OfficeIMO.Data

Namespace
OfficeIMO.Data
Assembly
OfficeIMO.Core
Source revision
ba882f6b0d07 with working tree changes
Modifiers
sealed

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

Inheritance

  • object
  • RowMapper<T>

Usage

Explore 5 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.

Returned or exposed by 2

Accepted by parameters 3

Type Parameters

T

Constructors

public RowMapper<T>() #

Methods

FromColumns``1 2 overloads
public RowMapper<T?> FromColumns<TValue>(IReadOnlyList<string> columnNames, Func<T?, TValue?, T?> assign) #

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

Type Parameters

TValue

Parameters

columnNames System.Collections.Generic.IReadOnlyList<string> required
assign System.Func<T?, TValue?, T?> required
public RowMapper<T?> FromColumns<TValue>(IReadOnlyList<string> columnNames, Func<T?, TValue?, T?> assign, RowMappingColumnOptions? options) #

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

Type Parameters

TValue

Parameters

columnNames System.Collections.Generic.IReadOnlyList<string> required
assign System.Func<T?, TValue?, T?> required
options OfficeIMO.Data.RowMappingColumnOptions? required
FromColumn``1 2 overloads
public RowMapper<T?> FromColumn<TValue>(string columnName, Func<T?, TValue?, T?> assign) #

Binds a named column to an assignment delegate.

Type Parameters

TValue

Parameters

columnName string required
assign System.Func<T?, TValue?, T?> required
public RowMapper<T?> FromColumn<TValue>(string columnName, Func<T?, TValue?, T?> assign, RowMappingColumnOptions? options) #

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

Type Parameters

TValue

Parameters

columnName string required
assign System.Func<T?, TValue?, T?> required
options OfficeIMO.Data.RowMappingColumnOptions? required