0

I used connection.TypeMapper.MapComposite<>(pgname) to map an array of composite type.

Then i added the array using cmd.Parameters.Add(p)

Working smoothly.

Im trying to add 2 arrays to a table type in my SP.

But if I try the same with multiple arrays of composite type it overrides the previous mapping and throws the error ‘’The CLR array type isn’t supported by Npsql or postgreSql. if you wish to map it to an PostgreSql composite type array you need to register it before usuage’’

0 Answers0