Search Results for

    Show / Hide Table of Contents

    Class NpgsqlNodaTimeExtensions

    Extension adding the NodaTime plugin to an Npgsql type mapper.

    Inheritance
    Object
    NpgsqlNodaTimeExtensions
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Npgsql
    Assembly: Npgsql.NodaTime.dll
    Syntax
    public static class NpgsqlNodaTimeExtensions

    Methods

    UseNodaTime(INpgsqlTypeMapper)

    Sets up NodaTime mappings for the PostgreSQL date/time types.

    Declaration
    public static INpgsqlTypeMapper UseNodaTime(this INpgsqlTypeMapper mapper)
    Parameters
    Type Name Description
    INpgsqlTypeMapper mapper

    The type mapper to set up (global or connection-specific)

    Returns
    Type Description
    INpgsqlTypeMapper
    In This Article
    Back to top © Copyright 2022 The Npgsql Development Team