Class NpgsqlArrayConverter<TModelCollection, TConcreteModelCollection, TProviderCollection>
- 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()
Constructs a new instance of NpgsqlArrayConverter<TModelCollection, TConcreteModelCollection, TProviderCollection>.
public NpgsqlArrayConverter()
NpgsqlArrayConverter(ValueConverter?)
Constructs a new instance of NpgsqlArrayConverter<TModelCollection, TConcreteModelCollection, TProviderCollection>.
public NpgsqlArrayConverter(ValueConverter? elementConverter)
Parameters
elementConverter
ValueConverter
Properties
ElementConverter
The value converter for the element type of the array.
public virtual ValueConverter? ElementConverter { get; }