ULParameter(String, ULDbType) constructor

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

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