Class AdbNpgsqlTypeMapper
Stores mappings between .NET types and database types, and allows setting the database type of database parameters from these mappings.
This class adds mappings for PostgreSQL® database types. See the Data Type Mappings , as well as AdbTypeMapper and predefined type mappings for further details.
This class can be derived from to create a customized provider that revises and adds mappings.
This class is immutable. This avoids threading issues, since an instance is often accessed by multiple threads. Any user custom provider services should also be immutable for the same reason.
Implements
Inherited Members
Namespace: actionETL.Adb.NpgsqlExternal
Assembly: actionETL.dll
Syntax
public class AdbNpgsqlTypeMapper : AdbTypeMapper, IAdbTypeMapper
Constructors
AdbNpgsqlTypeMapper()
Initializes a new instance of the AdbNpgsqlTypeMapper class, which stores PostgreSQL® mappings between .NET types and database types, and allows setting the database type of database parameters from these mappings.
Declaration
public AdbNpgsqlTypeMapper()
Methods
Get()
Gets a singleton instance of AdbNpgsqlTypeMapper, which is used when instantiating a new AdbProvider for accessing a PostgreSQL® data source.
Declaration
public static IAdbTypeMapper Get()
Returns
| Type | Description |
|---|---|
| IAdbTypeMapper |