Show / Hide Table of Contents

Class TimestampTzHandlerFactory

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

Inheritance
System.Object
NpgsqlTypeHandlerFactory
NpgsqlTypeHandlerFactory<System.DateTime>
TimestampTzHandlerFactory
Inherited Members
NpgsqlTypeHandlerFactory<DateTime>.CreateNonGeneric(PostgresType, NpgsqlConnection)
NpgsqlTypeHandlerFactory<DateTime>.DefaultValueType
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Npgsql.TypeHandlers.DateTimeHandlers
Assembly: Npgsql.dll
Syntax
public class TimestampTzHandlerFactory : NpgsqlTypeHandlerFactory<DateTime>
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

Create(PostgresType, NpgsqlConnection)

Creates a type handler.

Declaration
public override NpgsqlTypeHandler<DateTime> Create(PostgresType postgresType, NpgsqlConnection conn)
Parameters
Type Name Description
PostgresType postgresType
NpgsqlConnection conn
Returns
Type Description
NpgsqlTypeHandler<System.DateTime>
Overrides
Npgsql.TypeHandling.NpgsqlTypeHandlerFactory<System.DateTime>.Create(Npgsql.PostgresTypes.PostgresType, Npgsql.NpgsqlConnection)
In This Article
Back to top Generated by DocFX