Table of Contents

Class DuckDBAppenderMap<T>

Namespace
DuckDB.NET.Data.Mapping
Assembly
DuckDB.NET.Data.dll

Base class for defining mappings between .NET classes and DuckDB table columns for appender operations.

public abstract class DuckDBAppenderMap<T>

Type Parameters

T

The type to map

Inheritance
DuckDBAppenderMap<T>
Inherited Members

Methods

DefaultValue()

Adds a default value for the next column.

protected void DefaultValue()

Map<TProperty>(Func<T, TProperty>)

Maps a property to the next column in sequence.

protected void Map<TProperty>(Func<T, TProperty> getter)

Parameters

getter Func<T, TProperty>

Function to get the property value

Type Parameters

TProperty

The property type

NullValue()

Adds a null value for the next column.

protected void NullValue()