Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.
用指定的命令文本初始化 ULCommand 对象。
Public Sub New(ByVal cmdText As String)
public ULCommand(string cmdText)
cmdText SQL 语句的文本,或者当 ULCommand.CommandType 属性为 System.Data.CommandType.TableDirect 时,该参数值为表的名称。如果是参数化语句,请使用问号 (?) 占位符来传递参数。
执行语句前需要先设置 ULCommand 对象的 ULCommand.Connection 属性和 ULCommand.Transaction 属性。