ULParameter(String, ULDbType, Int32, ParameterDirection, Boolean, Byte, Byte, String, DataRowVersion, Object) constructor

Initializes a ULParameter object with the specified parameter name, data type, length, direction, nullability, numeric precision, numeric scale, source column, source version, and value. This constructor is not recommended; it is provided for compatibility with other data providers.

Syntax
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
);
Parameters
  • parameterName   The name of the parameter. For unnamed parameters, use an empty string ("") or a null reference (Nothing in Visual Basic) for this value. In UltraLite.NET, parameter names are not used by ULCommand.

  • dbType   One of the iAnywhere.Data.UltraLite.ULDbType values.

  • size   The length of the parameter.

  • direction   One of the System.Data.ParameterDirection values.

  • isNullable   True if the value of the field can be null; otherwise, false.

  • precision   The total number of digits to the left and right of the decimal point to which Value is resolved.

  • scale   The total number of decimal places to which Value is resolved.

  • sourceColumn   The name of the source column to map.

  • sourceVersion   One of the System.Data.DataRowVersion values.

  • value   An System.Object that is to be the value of the parameter.

See also