Table of Contents

Class PgStreamingConverter<T>

Namespace
Npgsql.Internal
Assembly
Npgsql.dll
public abstract class PgStreamingConverter<T> : PgConverter<T>

Type Parameters

T
Inheritance
PgStreamingConverter<T>
Inherited Members

Constructors

PgStreamingConverter(bool)

protected PgStreamingConverter(bool customDbNullPredicate = false)

Parameters

customDbNullPredicate bool

Methods

CanConvert(DataFormat, out BufferRequirements)

Whether this converter can handle the given format and with which buffer requirements.

public override bool CanConvert(DataFormat format, out BufferRequirements bufferRequirements)

Parameters

format DataFormat

The data format.

bufferRequirements BufferRequirements

Returns the buffer requirements.

Returns

bool

Returns true if the given data format is supported.

Remarks

The buffer requirements should not cover database NULL reads or writes, these are handled by the caller.