DGC.Data Programmer's Reference

IDal.CreateParameter Method (String, ParameterTypes, ParameterDirections, Object)

Creates a new instance of the DALParameter class with the parameter name, the ParameterTypes, the ParameterDirections, and the value of the parameter initialized.

[Visual Basic]
Function CreateParameter( _
   ByVal parameterName As String, _
   ByVal parameterType As ParameterTypes, _
   ByVal direction As ParameterDirections, _
   ByVal value As Object _
) As DALParameter
[C#]
DALParameter CreateParameter(
   string parameterName,
   ParameterTypes parameterType,
   ParameterDirections direction,
   object value
);

Parameters

parameterName
The name of the parameter to map.
parameterType
One of the ParameterTypes values.
direction
One of the ParameterDirections values.
value
The value of the parameter.

Return Value

A DALParameter object.

Remarks

This version of the method is designed for use with non-character based types such as DALInteger, DALDateTime etc.

See Also

IDal Interface | DGC.Data Namespace | IDal.CreateParameter Overload List