Table of Contents

Class NpgsqlArrayConverter<TModelCollection, TConcreteModelCollection, TProviderCollection>

Namespace
Npgsql.EntityFrameworkCore.PostgreSQL.Storage.ValueConversion
Assembly
Npgsql.EntityFrameworkCore.PostgreSQL.dll

A value converter that can convert between array types; accepts an optional ValueConverter for the element, but can be used without one to convert e.g. from a list to an array.

public class NpgsqlArrayConverter<TModelCollection, TConcreteModelCollection, TProviderCollection> : ValueConverter<TModelCollection, TProviderCollection> where TModelCollection : IEnumerable where TConcreteModelCollection : IEnumerable where TProviderCollection : IEnumerable

Type Parameters

TModelCollection
TConcreteModelCollection
TProviderCollection
Inheritance
ValueConverter<TModelCollection, TProviderCollection>
NpgsqlArrayConverter<TModelCollection, TConcreteModelCollection, TProviderCollection>
Inherited Members

Constructors

NpgsqlArrayConverter()

public NpgsqlArrayConverter()

NpgsqlArrayConverter(ValueConverter?)

public NpgsqlArrayConverter(ValueConverter? elementConverter)

Parameters

elementConverter ValueConverter

Properties

ElementConverter

The value converter for the element type of the array.

public virtual ValueConverter? ElementConverter { get; }

Property Value

ValueConverter