Class PgConverter
Namespace: Npgsql.Internal
Assembly: Npgsql.dll
Syntax
public abstract class PgConverter
Properties
| Improve this Doc View SourceIsDbNullable
Declaration
public bool IsDbNullable { get; }
Property Value
Type | Description |
---|---|
bool |
Methods
| Improve this Doc View SourceCanConvert(DataFormat, out BufferRequirements)
Whether this converter can handle the given format and with which buffer requirements.
Declaration
public abstract bool CanConvert(DataFormat format, out BufferRequirements bufferRequirements)
Parameters
Type | Name | Description |
---|---|---|
DataFormat | format | The data format. |
BufferRequirements | bufferRequirements | Returns the buffer requirements. |
Returns
Type | Description |
---|---|
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)
Declaration
protected bool CanConvertBufferedDefault(DataFormat format, out BufferRequirements bufferRequirements)
Parameters
Type | Name | Description |
---|---|---|
DataFormat | format | |
BufferRequirements | bufferRequirements |
Returns
Type | Description |
---|---|
bool |