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, ByVal connection As ULConnection )
public ULCommand(string cmdText, ULConnection connection)
cmdText SQL 语句的文本,或者当 ULCommand.CommandType 为 System.Data.CommandType.TableDirect 时,该参数值为表的名称。如果是参数化语句,请使用问号 (?) 占位符来传递参数。
connection 表示当前连接的 ULConnection 对象。
执行语句前可能需要先设置 ULCommand 对象的 ULCommand.Transaction。