Search Results for

    Show / Hide Table of Contents

    Class PgConverter

    Inheritance
    object
    PgConverter
    PgConverter<T>
    Namespace: Npgsql.Internal
    Assembly: Npgsql.dll
    Syntax
    public abstract class PgConverter

    Properties

    | Improve this Doc View Source

    IsDbNullable

    Declaration
    public bool IsDbNullable { get; }
    Property Value
    Type Description
    bool

    Methods

    | Improve this Doc View Source

    CanConvert(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.

    | Improve this Doc View Source

    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
    • Improve this Doc
    • View Source
    In This Article
    Back to top © Copyright 2023 The Npgsql Development Team