Exemple #1
0
 /// <inheritdoc />
 protected MultirangeHandler(
     PostgresMultirangeType pgMultirangeType, RangeHandler <TElement> rangeHandler, Type[] supportedSubtypeClrTypes)
 {
     PostgresType  = pgMultirangeType;
     _rangeHandler = rangeHandler;
     SupportedMultirangeClrTypes = supportedSubtypeClrTypes;
 }
Exemple #2
0
 /// <inheritdoc />
 public MultirangeHandler(PostgresMultirangeType pgMultirangeType, RangeHandler <TElement> rangeHandler)
     : this(pgMultirangeType, rangeHandler, new[] { typeof(NpgsqlRange <TElement>[]), typeof(List <NpgsqlRange <TElement> >) })
 {
 }
Exemple #3
0
 /// <inheritdoc />
 public MultirangeHandler(PostgresMultirangeType pgMultirangeType, RangeHandler <TSubtype> rangeHandler)
     : base(pgMultirangeType)
     => RangeHandler = rangeHandler;