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 名前空間


このページでは「.NET Framework クラス ライブラリ リファレンス」からOracleParameter.SourceVersion プロパティを検索した結果を表示しています。
Weblioに収録されているすべての辞書からOracleParameter.SourceVersion プロパティを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からOracleParameter.SourceVersion プロパティ を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

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

   

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



OracleParameter.SourceVersion プロパティのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2025 GRAS Group, Inc.RSS