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

SQL Anywhere 11.0.1 » UltraLite - .NET Programming » UltraLite .NET 2.0 API reference » ULParameter class » ULParameter constructors


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.

Visual Basic
Public Sub New( _
   ByVal parameterName As String, _
   ByVal dbType As ULDbType, _
   ByVal size As Integer, _
   ByVal sourceColumn As String _
public  ULParameter(
   string  parameterName,
   ULDbType dbType,
   int size,
   string  sourceColumn
  • 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.


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