Class TimestampHandlerFactory
A factory for type handlers for the PostgreSQL timestamp data type.
Inheritance
TimestampHandlerFactory
Inherited Members
Namespace: Npgsql.TypeHandlers.DateTimeHandlers
Assembly: Npgsql.dll
Syntax
public class TimestampHandlerFactory : 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
| Improve this DocCreate(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<DateTime> |
Overrides
Npgsql.TypeHandling.NpgsqlTypeHandlerFactory<System.DateTime>.Create(Npgsql.PostgresTypes.PostgresType, Npgsql.NpgsqlConnection)