File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/EFCore.PG/Storage/Internal/Mapping Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -187,7 +187,7 @@ protected NpgsqlArrayTypeMapping(RelationalTypeMappingParameters parameters)
187
187
// Otherwise let the ADO.NET layer infer the PostgreSQL type. We can't always let it infer, otherwise
188
188
// when given a byte[] it will infer byte (but we want smallint[])
189
189
NpgsqlDbType = NpgsqlTypes . NpgsqlDbType . Array
190
- | ( ElementTypeMapping is INpgsqlTypeMapping elementNpgsqlTypeMapping
190
+ | ( ElementTypeMapping is INpgsqlTypeMapping { NpgsqlDbType : not NpgsqlTypes . NpgsqlDbType . Unknown } elementNpgsqlTypeMapping
191
191
? elementNpgsqlTypeMapping . NpgsqlDbType
192
192
: ElementTypeMapping . DbType . HasValue
193
193
? new NpgsqlParameter { DbType = ElementTypeMapping . DbType . Value } . NpgsqlDbType
You can’t perform that action at this time.
0 commit comments