Click or drag to resize
ResultSetRowToObjectTBuilder, T Method (FuncTBuilder, FuncTBuilder, T)
Returns a function that convert a SQLite row into an instance of type T using the provided builder functions. The builder function may return the same instane of builder more than once, provided that the instance is thread local or locked such that only a single given thread ever has access to the instance between calls to builder and build.

Namespace: SQLitePCL.pretty.Orm
Assembly: SQLitePCL.pretty.Orm (in SQLitePCL.pretty.Orm.dll) Version: 1.0.0.0 (1.0.0)
Syntax
public static Func<IReadOnlyList<IResultSetValue>, T> RowToObject<TBuilder, T>(
	Func<TBuilder> builder,
	Func<TBuilder, T> build
)

Parameters

builder
Type: SystemFuncTBuilder
A function that provides a builder object that can be used to build an instance of T.
build
Type: SystemFuncTBuilder, T
A function that builds and instance of T using the builder.

Type Parameters

TBuilder
The builder type.
T
The mapped type.

Return Value

Type: FuncIReadOnlyListIResultSetValue, T
The result selector function.
See Also