GBase 8a
运维管理
文章

GBaseParameter 构 造 函 数 (String, GBaseDbType, Int32, ParameterDirection, Boolean, Byte, Byte, String, DataRowVersion, Object)

发表于2025-12-08 11:13:4626次浏览3个评论

使用参数名、参数类型、参数大小、ParameterDirection、参数精度、参

数精度、源列、一个可用的 DataRowVersion、参数值来初始化 GBaseParameter

类的一个新实例 。

 语法

[Visual Basic]

Public Sub New ( _

parameterName As String, _

dbType As GBaseDbType, _

size As Integer, _

direction As ParameterDirection, _

isNullable As Boolean, _

precision As Byte, _

scale As Byte, _

sourceColumn As String, _

sourceVersion As DataRowVersion, _

value As Object _

)

[C#]

public GBaseParameter(

string parameterName,

GBaseDbType dbType,

int size,

ParameterDirection direction,

bool isNullable,

byte precision,

byte scale,

string sourceColumn,

DataRowVersion sourceVersion,

Object value

)

 参数

1) parameterName :参数名;

2) dbType :参数的 GBaseDbType 类型;

3) size :参数的长度;

4) direction :ParameterDirection 值之一;

5) isNullable :值是否可以为 null;

6) precision :小数点左右两侧的总位数;

7) scale:小数位总个数;

8) sourceColumn :源列的名称;

9) sourceVersion :DataRowVersion 值之一;

10) value :参数值。

评论

登录后才可以发表评论
冰凤发表于 7个月前
1234
冰凤发表于 7个月前
666
崔哥发表于 3个月前
春日游,杏花吹满头。陌上谁家年少足风流?妾拟将身嫁与一生休。纵被无情弃,不能羞。