DataAction / AdoNetCore.AseClient

AdoNetCore.AseClient - a .NET Core DB Provider for SAP ASE
Apache License 2.0
106 stars 44 forks source link

Implement TDS_BLOB support #150

Closed senseibaka closed 4 years ago

senseibaka commented 4 years ago

Allows the user to send large (>8192 chars/16384 bytes) string parameters.

It might be good to extend this to support byte arrays as well, will need to investigate if the reference driver supports this

c-j-hughes commented 4 years ago

Won't merge it if you have more investigation to do, but the change looks solid.

senseibaka commented 4 years ago

@c-j-hughes I just did a bit of digging into byte[]/DbType.Binary and found the same behaviour in the reference driver, so I've implemented that as well.

Reckon it's ready to merge now

c-j-hughes commented 4 years ago

SAP ASE has supported the TDS_BLOB type within parameters since ASE 15.7. This fix adds corresponding support to the driver.