Class NpgsqlNodaTimeExtensions
Extension adding the NodaTime plugin to an Npgsql type mapper.
Namespace: Npgsql
Assembly: Npgsql.NodaTime.dll
Syntax
public static class NpgsqlNodaTimeExtensions
Methods
| Improve this Doc View SourceUseNodaTime(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 |