You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, SqlServerByteReader.Read(Stream)/SqlServerByteWriter.Write(Geometry, Stream) will close the underlying stream. It would be nice to have an option to reuse the stream.
I propose adding a leaveOpen= false parameter to each of these methods, and we can just manually turn it true to leave the passed in stream open.
I currently have a need to marshall data back and forth between SqlGeography and NTS land and it would be nice to not have to write a crappy dummy StreamWrapper just to avoid this disposal.
The text was updated successfully, but these errors were encountered:
Currently,
SqlServerByteReader.Read(Stream)
/SqlServerByteWriter.Write(Geometry, Stream)
will close the underlying stream. It would be nice to have an option to reuse the stream.I propose adding a
leaveOpen= false
parameter to each of these methods, and we can just manually turn it true to leave the passed in stream open.I currently have a need to marshall data back and forth between
SqlGeography
andNTS
land and it would be nice to not have to write a crappy dummyStreamWrapper
just to avoid this disposal.The text was updated successfully, but these errors were encountered: