iAnywhere.Data.UltraLite namespace
Represents a parameter to a ULCommand class.
' Visual Basic
NotInheritable Public Class ULParameter
Inherits MarshalByRefObject
Implements IDbDataParameter, IDataParameter
// C#
public sealed class ULParameter :
MarshalByRefobject, IDbDataParameter, IDataParameter
A ULParameter object can be created directly using one of its many constructors, or using the CreateParameter method method. Because of the special treatment of the 0 and 0.0 constants and the way overloaded methods are resolved, it is highly recommended that you explicitly cast constant values to type object when using the ULParameter constructor constructor. For example:
' Visual Basic Dim p As ULParameter = New ULParameter( "", CType( 0, Object ) ) // C# ULParameter p = new ULParameter( "", (object)0 );
Parameters (including those created by CreateParameter method) must be added to a Parameters property collection to be used. All parameters are treated as positional parameters and are used by a command in the order that they were added.
In UltraLite.NET, parameters can only be used as IN parameters and all mapping information is ignored. Only the Value property property is important.
Implements:
IDbDataParameter,
IDataParameter
ULParameter members
ULParameter constructor
ULParameter constructor
ULParameter constructor
ULParameter constructor
ULParameter constructor
ULParameter constructor
DbType property
Direction property
IsNullable property
Offset property
ParameterName property
Precision property
Scale property
Size property
SourceColumn property
SourceVersion property
ULDbType property
Value property
ToString method
SQL Anywhere Studio 9.0.2
Copyright © 1989–2004 Sybase, Inc. Portions copyright © 2001–2004 iAnywhere Solutions, Inc. All rights reserved.