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 @@ -190,7 +190,7 @@ protected NpgsqlArrayTypeMapping(RelationalTypeMappingParameters parameters)
190
190
// Otherwise let the ADO.NET layer infer the PostgreSQL type. We can't always let it infer, otherwise
191
191
// when given a byte[] it will infer byte (but we want smallint[])
192
192
NpgsqlDbType = NpgsqlTypes . NpgsqlDbType . Array
193
- | ( ElementTypeMapping is INpgsqlTypeMapping elementNpgsqlTypeMapping
193
+ | ( ElementTypeMapping is INpgsqlTypeMapping { NpgsqlDbType : not NpgsqlTypes . NpgsqlDbType . Unknown } elementNpgsqlTypeMapping
194
194
? elementNpgsqlTypeMapping . NpgsqlDbType
195
195
: ElementTypeMapping . DbType . HasValue
196
196
? new NpgsqlParameter { DbType = ElementTypeMapping . DbType . Value } . NpgsqlDbType
You can’t perform that action at this time.
0 commit comments