ULCommand オブジェクトを、指定されたコマンド・テキストと接続で初期化します。
Visual Basic Public Sub New( _ ByVal cmdText As String, _ ByVal connection As ULConnection _ )
C# public ULCommand( string cmdText, ULConnection connection );
cmdText ULCommand.CommandType が System.Data.CommandType.TableDirect である場合の、SQL 文のテキストまたはテーブルの名前。パラメータ化された文の場合、疑問符 (?) プレースホルダを使用してパラメータを渡します。
connection 現在の接続を表す ULConnection オブジェクト。
ULCommand オブジェクトに ULCommand.Transaction が設定されていないと、文を実行できないことがあります。
Copyright © 2009, iAnywhere Solutions, Inc. - SQL Anywhere 11.0.1 |