Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (日本語) » SQL Anywhere サーバ - プログラミング » SQL Anywhere データ・アクセス API » SQL Anywhere .NET 2.0 API リファレンス » iAnywhere.Data.SQLAnywhere ネームスペース (.NET 2.0) » SAParameter クラス » SAParameter コンストラクタ

 

SAParameter(String, SADbType, Int32, ParameterDirection, Boolean, Byte, Byte, String, DataRowVersion, Object) コンストラクタ

指定されたパラメータ名、データ型、長さ、方向、NULL 入力属性、数値精度、数値の位取り、ソース・カラム、ソースのバージョン、値で、SAParameter オブジェクトを初期化します。

構文
Visual Basic

Public Sub New( _
   ByVal parameterName As String, _
   ByVal dbType As SADbType, _
   ByVal size As Integer, _
   ByVal direction As ParameterDirection, _
   ByVal isNullable As Boolean, _
   ByVal precision As Byte, _
   ByVal scale As Byte, _
   ByVal sourceColumn As String, _
   ByVal sourceVersion As DataRowVersion, _
   ByVal value As Object _
)
C#

public  SAParameter(
   string  parameterName,
   SADbType dbType,
   int size,
   ParameterDirection direction,
   bool isNullable,
   byte precision,
   byte scale,
   string  sourceColumn,
   DataRowVersion sourceVersion,
   object value
);
パラメータ
  • parameterName   パラメータの名前。

  • dbType   SADbType 値の 1 つ。

  • size   パラメータの長さ。

  • direction   ParameterDirection 値の 1 つ。

  • isNullable   フィールドの値を NULL にできる場合は true、できない場合は false。

  • precision   Value が解決される小数点の左右の桁の合計数。

  • scale   Value が解決される小数点までの桁の合計数。

  • sourceColumn   マッピングするソース・カラムの名前。

  • sourceVersion   DataRowVersion 値の 1 つ。

  • value   パラメータの値である Object。

参照