Npgsql supports setting handleOrdinates as a global option, documented as "Specifies the ordinates which will be handled. Not specified ordinates will be ignored.".
I would expect it to enforce ordinates for both reading and writing but seems it's only applied for reading.
It can be useful to control writing ordinates as NTS can introduce unwanted ordinates at times when using geometry processing etc.