Class DuckDBAppenderMap<T>
Base class for defining mappings between .NET classes and DuckDB table columns for appender operations.
public abstract class DuckDBAppenderMap<T>
Type Parameters
TThe 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
getterFunc<T, TProperty>Function to get the property value
Type Parameters
TPropertyThe property type
NullValue()
Adds a null value for the next column.
protected void NullValue()