GBaseParameter 构 造 函 数 (String, GBaseDbType, Int32, ParameterDirection, Boolean, Byte, Byte, String, DataRowVersion, Object)
使用参数名、参数类型、参数大小、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 :参数值。
热门帖子
- 12025-12-01浏览数:182763
- 22023-05-09浏览数:25057
- 42023-09-25浏览数:18525
- 52020-05-11浏览数:17528