SqlParameter 构造函数

定义

重载

SqlParameter()

Initializes a new instance of the SqlParameter class.

SqlParameter(String name, Object value)

Initializes a new instance of the SqlParameter class with the name and value of the parameter.

SqlParameter()

Initializes a new instance of the SqlParameter class.

public SqlParameter()

SqlParameter(String name, Object value)

Initializes a new instance of the SqlParameter class with the name and value of the parameter.

public SqlParameter(String name, Object value)

参数

name
String

the name of the parameter.

value
Object

the value of the parameter.

适用于