Skip to content

IPgDatumReader<T>

Namespace: Ankus

Assembly: Ankus.Runtime.dll

Converts a present, exactly typed PostgreSQL datum into an independently owned managed value.

public interface IPgDatumReader<T>

Type parameters:

T

The closed mapped managed type.

Reads a present value whose exact type and native lifetime have already been validated.

T Read(PgDatum value)

Parameters:

value — PgDatum

The checked input. Copy data that must outlive its native owner.

Returns: T

A non-null managed value independent of the borrowed input storage.