ULParameter(String, ULDbType, Int32, String) constructor

Initializes a ULParameter object with the specified parameter name, data type, and length. 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 sourceColumn As String _
)
C#
public  ULParameter(
   string  parameterName,
   ULDbType dbType,
   int size,
   string  sourceColumn
);
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.

  • sourceColumn   The name of the source column to map.

Remarks

In UltraLite.NET parameters can only be used as IN parameters and all mapping information is ignored. Only the ULParameter.Value is important.

See also