Table of Contents

Class PgConverter

Namespace
Npgsql.Internal
Assembly
Npgsql.dll
public abstract class PgConverter
Inheritance
PgConverter
Derived
Inherited Members

Properties

IsDbNullable

public bool IsDbNullable { get; }

Property Value

bool

Methods

CanConvert(DataFormat, out BufferRequirements)

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

public abstract 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.

CanConvertBufferedDefault(DataFormat, out BufferRequirements)

protected bool CanConvertBufferedDefault(DataFormat format, out BufferRequirements bufferRequirements)

Parameters

format DataFormat
bufferRequirements BufferRequirements

Returns

bool