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

SQL Anywhere 11.0.1 (日本語) » Ultra Light - .NET プログラミング » Ultra Light .NET 2.0 API リファレンス » ULParameter クラス » ULParameter コンストラクタ

 

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

指定されたパラメータ名、データ型、長さ、方向、NULL 入力属性、数値精度、数値の位取り、ソース・カラム、ソースのバージョン、値で、ULParameter オブジェクトを初期化します。このコンストラクタの使用はおすすめしません。これは、他のデータ・プロバイダとの互換性のために用意されています。

構文
Visual Basic
Public Sub New( _
   ByVal parameterName As String, _
   ByVal dbType As ULDbType, _
   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  ULParameter(
   string  parameterName,
   ULDbType dbType,
   int size,
   ParameterDirection direction,
   bool isNullable,
   byte precision,
   byte scale,
   string  sourceColumn,
   DataRowVersion sourceVersion,
   object value
);
パラメータ
  • parameterName   パラメータの名前。名前のないパラメータの場合、この値に空の文字列 ("") または NULL 参照 (Visual Basic の Nothing) を使用します。Ultra Light.NET では、ULCommand はパラメータの名前を使用しません。

  • dbType   iAnywhere.Data.UltraLite.ULDbType 値の 1 つ。

  • size   パラメータの長さ。

  • direction   System.Data.ParameterDirection 値の 1 つ。

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

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

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

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

  • sourceVersion   System.Data.DataRowVersion 値の 1 つ。

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

参照