Show / Hide Table of Contents

Class NpgsqlTypeHandlerFactory

Base class for all type handler factories, which construct type handlers that know how to read and write CLR types from/to PostgreSQL types.

Inheritance
System.Object
NpgsqlTypeHandlerFactory
NpgsqlTypeHandlerFactory<TDefault>
Inherited Members
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.TypeHandling
Assembly: Npgsql.dll
Syntax
public abstract class NpgsqlTypeHandlerFactory
Remarks

In general, do not inherit from this class, inherit from NpgsqlTypeHandlerFactory<TDefault> instead.

Properties

DefaultValueType

The default CLR type that handlers produced by this factory will read and write.

Declaration
public abstract Type DefaultValueType { get; }
Property Value
Type Description
System.Type

Methods

CreateNonGeneric(PostgresType, NpgsqlConnection)

Creates a type handler.

Declaration
public abstract NpgsqlTypeHandler CreateNonGeneric(PostgresType pgType, NpgsqlConnection conn)
Parameters
Type Name Description
PostgresType pgType
NpgsqlConnection conn
Returns
Type Description
NpgsqlTypeHandler
In This Article
Back to top Generated by DocFX