command クラス : Transaction(transaction) セッタ
説明
トランザクションを設定します。
構文
instance.Transaction = value;
代入値
| クラス | 説明 | 
| transaction | トランザクション。 | 
返り値
無し。
サンプルコード
| 1: | connection cnn = new connection("Data Source=c:\somedirectory\somedatabase.sqlite3;Version=3;"); | 
| 2: | cnn.Open(); | 
| 3: | command cmm = new command("create table sometable (id int, name text);"); | 
| 4: | cmm.Connection = cnn; | 
| 5: | cmm.Transaction = cnn.BeginTransaction(); | 
注意
無し。
参照リンク
無し。
 
			

