Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    Object
    AdbTypeMapper
    AdbNpgsqlTypeMapper
    Implements
    IAdbTypeMapper
    Inherited Members
    AdbTypeMapper.AddOrUpdateDbType(String, DbType, Byte, Byte)
    AdbTypeMapper.AddOrUpdateDbType(String, DbType, Int32)
    AdbTypeMapper.AddOrUpdateDbType(String, DbType)
    AdbTypeMapper.AddOrUpdateDbTypeWithNullable(String, DbType)
    AdbTypeMapper.AddOrUpdateFunc(String, Func<AdbParameter, Type, AdbColumnSchema, ParameterDirection, Boolean>)
    AdbTypeMapper.AddOrUpdateProviderType(String, Object, Byte, Byte)
    AdbTypeMapper.AddOrUpdateProviderType(String, Object, Int32)
    AdbTypeMapper.AddOrUpdateProviderType(String, Object)
    AdbTypeMapper.AddOrUpdateUntyped(String)
    AdbTypeMapper.IsMapped(String)
    AdbTypeMapper.Remove(String)
    AdbTypeMapper.SetMappedType(AdbParameter, Type, AdbColumnSchema, ParameterDirection)
    AdbTypeMapper.SetMappedTypeForEnum(AdbParameter, Type, AdbColumnSchema, ParameterDirection, IEnumerable<String>)
    AdbTypeMapper.SetMappedTypeEnumMySqlTypePrefixes
    AdbTypeMapper.SetMappedTypeEnumSqlClientTypePrefixes
    AdbTypeMapper.ToString()
    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

    Implements

    IAdbTypeMapper

    See Also

    AdbTypeMapper
    IAdbTypeService
    In This Article
    Back to top Copyright © 2023 Envobi Ltd