OracleParameter.SourceVersion プロパティとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > OracleParameter.SourceVersion プロパティの意味・解説 

OracleParameter.SourceVersion プロパティ

Value の読み込み時に使用する DataRowVersion を取得または設定します。

名前空間: System.Data.OracleClient
アセンブリ: System.Data.OracleClient (system.data.oracleclient.dll 内)
構文構文

Public Overrides Property
 SourceVersion As DataRowVersion
Dim instance As OracleParameter
Dim value As DataRowVersion

value = instance.SourceVersion

instance.SourceVersion = value
public override DataRowVersion SourceVersion { get;
 set; }
public:
virtual property DataRowVersion SourceVersion {
    DataRowVersion get () override;
    void set (DataRowVersion value) override;
}
/** @property */
public DataRowVersion get_SourceVersion ()

/** @property */
public void set_SourceVersion (DataRowVersion
 value)
public override function get
 SourceVersion () : DataRowVersion

public override function set
 SourceVersion (value : DataRowVersion)

プロパティ値
DataRowVersion 値の 1 つ。既定値は Current です。

解説解説

Update 操作中に、UpdateCommand は、このプロパティを使用して、パラメータ値が元の値と現在の値のどちらに設定されているかを判断します。これにより、主キーを更新できます。このプロパティは、Item プロパティ (DataRow インデクサ)、または DataRow オブジェクトの GetChildRows メソッドが使用する、DataRow のバージョンに設定されます。

使用例使用例

OracleParameter を作成し、そのプロパティの一部を設定する例を次に示します。

Public Sub CreateOracleParameter()
   Dim parameter As New
 OracleParameter("pDName", OracleType.VarChar)
   parameter.IsNullable = True
   parameter.SourceColumn = "Description"
   parameter.SourceVersion = DataRowVersion.Current
   parameter.Direction = ParameterDirection.Output
End Sub
public void CreateOracleParameter() 
{
   OracleParameter parameter = new OracleParameter("pDName",
 OracleType.VarChar);
   parameter.IsNullable = true;
   parameter.SourceColumn = "Description";
   parameter.SourceVersion = DataRowVersion.Current;
   parameter.Direction = ParameterDirection.Output;
}
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
OracleParameter クラス
OracleParameter メンバ
System.Data.OracleClient 名前空間



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

OracleParameter.SourceVersion プロパティのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



OracleParameter.SourceVersion プロパティのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS