Class ArrayHandler
Non-generic base class for all type handlers which handle PostgreSQL arrays. Extend from ArrayHandler<TElement> instead.
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.TypeHandlers
Assembly: Npgsql.dll
Syntax
public abstract class ArrayHandler : NpgsqlTypeHandler
Remarks
http://www.postgresql.org/docs/current/static/arrays.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.
Constructors
ArrayHandler(PostgresType)
Declaration
protected ArrayHandler(PostgresType arrayPostgresType)
Parameters
Type | Name | Description |
---|---|---|
PostgresType | arrayPostgresType |
Methods
CreateArrayHandler(PostgresArrayType)
Creates a type handler for arrays of this handler's type.
Declaration
public override ArrayHandler CreateArrayHandler(PostgresArrayType arrayBackendType)
Parameters
Type | Name | Description |
---|---|---|
PostgresArrayType | arrayBackendType |
Returns
Type | Description |
---|---|
ArrayHandler |
Overrides
CreateRangeHandler(PostgresRangeType)
Creates a type handler for ranges of this handler's type.
Declaration
public override RangeHandler CreateRangeHandler(PostgresRangeType rangeBackendType)
Parameters
Type | Name | Description |
---|---|---|
PostgresRangeType | rangeBackendType |
Returns
Type | Description |
---|---|
RangeHandler |