Search Results for

    Show / Hide Table of Contents

    Class TimeTzHandlerFactory

    A factory for type handlers for the PostgreSQL timetz data type.

    Inheritance
    Object
    NpgsqlTypeHandlerFactory
    NpgsqlTypeHandlerFactory<DateTimeOffset>
    TimeTzHandlerFactory
    Inherited Members
    NpgsqlTypeHandlerFactory<DateTimeOffset>.CreateNonGeneric(PostgresType, NpgsqlConnection)
    NpgsqlTypeHandlerFactory<DateTimeOffset>.DefaultValueType
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Npgsql.TypeHandlers.DateTimeHandlers
    Assembly: Npgsql.dll
    Syntax
    public class TimeTzHandlerFactory : NpgsqlTypeHandlerFactory<DateTimeOffset>
    Remarks

    See http://www.postgresql.org/docs/current/static/datatype-datetime.html.

    The type handler API allows customizing Npgsql's behavior in powerful ways. However, although it is public, it should be considered somewhat unstable, and may change in breaking ways, including in non-major releases. Use it at your own risk.

    Methods

    | Improve this Doc

    Create(PostgresType, NpgsqlConnection)

    Creates a type handler.

    Declaration
    public override NpgsqlTypeHandler<DateTimeOffset> Create(PostgresType postgresType, NpgsqlConnection conn)
    Parameters
    Type Name Description
    PostgresType postgresType
    NpgsqlConnection conn
    Returns
    Type Description
    NpgsqlTypeHandler<DateTimeOffset>
    Overrides
    Npgsql.TypeHandling.NpgsqlTypeHandlerFactory<System.DateTimeOffset>.Create(Npgsql.PostgresTypes.PostgresType, Npgsql.NpgsqlConnection)
    • Improve this Doc
    In This Article
    Back to top © Copyright 2021 The Npgsql Development Team