达梦(DM)数据库.NET Data Provider DmBlob 对象

MoMo 2021年6月14日21:31:27
评论
312

用于访问服务器二进制类型大字段。

公共属性

无。

公共方法

int Length():获取大字段数据长度;

int SetBytes(long pos, byte[] bytes, int offset, int len):从 pos 所指定的位置,更新大字段

内容为 bytes 的内容,offset 为设置 bytes 的偏移,len 为偏移后设置的字节长度;

byte[] GetBytes(long pos, int length):从 pos 所指定的位置获取 length 个数的字节数据;

void truncate(long len):将大字段截断为 len 长度;

Stream GetStream():获取流对象,通过流对象进行数据读取。

https://xpanx.com/
MoMo
  • 本文由 发表于 2021年6月14日21:31:27
  • 转载请务必保留本文链接:https://xpanx.com/2991.html
匿名

发表评论

匿名网友 填写信息

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: