Search Results for

    Show / Hide Table of Contents

    Class PgSerializerOptions

    Inheritance
    object
    PgSerializerOptions
    Namespace: Npgsql.Internal
    Assembly: Npgsql.dll
    Syntax
    public sealed class PgSerializerOptions

    Properties

    | Improve this Doc View Source

    ArrayNullabilityMode

    Declaration
    public ArrayNullabilityMode ArrayNullabilityMode { get; init; }
    Property Value
    Type Description
    ArrayNullabilityMode
    | Improve this Doc View Source

    DefaultNameTranslator

    Declaration
    public INpgsqlNameTranslator DefaultNameTranslator { get; init; }
    Property Value
    Type Description
    INpgsqlNameTranslator
    | Improve this Doc View Source

    EnableDateTimeInfinityConversions

    Declaration
    public bool EnableDateTimeInfinityConversions { get; init; }
    Property Value
    Type Description
    bool
    | Improve this Doc View Source

    TextEncoding

    Declaration
    public Encoding TextEncoding { get; init; }
    Property Value
    Type Description
    Encoding
    | Improve this Doc View Source

    TimeZone

    Declaration
    public string TimeZone { get; }
    Property Value
    Type Description
    string
    | Improve this Doc View Source

    TypeInfoResolver

    Declaration
    public required IPgTypeInfoResolver TypeInfoResolver { get; init; }
    Property Value
    Type Description
    IPgTypeInfoResolver
    | Improve this Doc View Source

    UnknownPgType

    Declaration
    public PostgresType UnknownPgType { get; }
    Property Value
    Type Description
    PostgresType
    | Improve this Doc View Source

    WellKnownTextTypes

    Declaration
    public static Type[] WellKnownTextTypes { get; }
    Property Value
    Type Description
    Type[]

    Methods

    | Improve this Doc View Source

    GetArrayElementTypeId(PgTypeId)

    Declaration
    public PgTypeId GetArrayElementTypeId(PgTypeId arrayTypeId)
    Parameters
    Type Name Description
    PgTypeId arrayTypeId
    Returns
    Type Description
    PgTypeId
    | Improve this Doc View Source

    GetArrayTypeId(PgTypeId)

    Declaration
    public PgTypeId GetArrayTypeId(PgTypeId elementTypeId)
    Parameters
    Type Name Description
    PgTypeId elementTypeId
    Returns
    Type Description
    PgTypeId
    | Improve this Doc View Source

    GetDataTypeName(PgTypeId)

    Declaration
    public DataTypeName GetDataTypeName(PgTypeId pgTypeId)
    Parameters
    Type Name Description
    PgTypeId pgTypeId
    Returns
    Type Description
    DataTypeName
    | Improve this Doc View Source

    GetDefaultTypeInfo(PgTypeId)

    Declaration
    public PgTypeInfo? GetDefaultTypeInfo(PgTypeId pgTypeId)
    Parameters
    Type Name Description
    PgTypeId pgTypeId
    Returns
    Type Description
    PgTypeInfo
    | Improve this Doc View Source

    GetDefaultTypeInfo(PostgresType)

    Declaration
    public PgTypeInfo? GetDefaultTypeInfo(PostgresType pgType)
    Parameters
    Type Name Description
    PostgresType pgType
    Returns
    Type Description
    PgTypeInfo
    | Improve this Doc View Source

    GetMultirangeElementTypeId(PgTypeId)

    Declaration
    public PgTypeId GetMultirangeElementTypeId(PgTypeId multirangeTypeId)
    Parameters
    Type Name Description
    PgTypeId multirangeTypeId
    Returns
    Type Description
    PgTypeId
    | Improve this Doc View Source

    GetMultirangeTypeId(PgTypeId)

    Declaration
    public PgTypeId GetMultirangeTypeId(PgTypeId rangeTypeId)
    Parameters
    Type Name Description
    PgTypeId rangeTypeId
    Returns
    Type Description
    PgTypeId
    | Improve this Doc View Source

    GetObjectOrDefaultTypeInfo(PgTypeId)

    Declaration
    public PgTypeInfo? GetObjectOrDefaultTypeInfo(PgTypeId pgTypeId)
    Parameters
    Type Name Description
    PgTypeId pgTypeId
    Returns
    Type Description
    PgTypeInfo
    | Improve this Doc View Source

    GetObjectOrDefaultTypeInfo(PostgresType)

    Declaration
    public PgTypeInfo? GetObjectOrDefaultTypeInfo(PostgresType pgType)
    Parameters
    Type Name Description
    PostgresType pgType
    Returns
    Type Description
    PgTypeInfo
    | Improve this Doc View Source

    GetRangeSubtypeTypeId(PgTypeId)

    Declaration
    public PgTypeId GetRangeSubtypeTypeId(PgTypeId rangeTypeId)
    Parameters
    Type Name Description
    PgTypeId rangeTypeId
    Returns
    Type Description
    PgTypeId
    | Improve this Doc View Source

    GetRangeTypeId(PgTypeId)

    Declaration
    public PgTypeId GetRangeTypeId(PgTypeId subtypeTypeId)
    Parameters
    Type Name Description
    PgTypeId subtypeTypeId
    Returns
    Type Description
    PgTypeId
    | Improve this Doc View Source

    GetTypeInfo(Type, PostgresType)

    Declaration
    public PgTypeInfo? GetTypeInfo(Type type, PostgresType pgType)
    Parameters
    Type Name Description
    Type type
    PostgresType pgType
    Returns
    Type Description
    PgTypeInfo
    | Improve this Doc View Source

    GetTypeInfo(Type, PgTypeId?)

    Declaration
    public PgTypeInfo? GetTypeInfo(Type type, PgTypeId? pgTypeId = null)
    Parameters
    Type Name Description
    Type type
    PgTypeId? pgTypeId
    Returns
    Type Description
    PgTypeInfo
    | Improve this Doc View Source

    TryGetDataTypeName(PgTypeId, out DataTypeName)

    Declaration
    public bool TryGetDataTypeName(PgTypeId pgTypeId, out DataTypeName dataTypeName)
    Parameters
    Type Name Description
    PgTypeId pgTypeId
    DataTypeName dataTypeName
    Returns
    Type Description
    bool
    • Improve this Doc
    • View Source
    In This Article
    Back to top © Copyright 2023 The Npgsql Development Team