Creates a new instance of the DALParameter class with the parameter name, the ParameterTypes, the ParameterDirections, the size, and the value of the parameter initialized.
A DALParameter object.
This version of the method is designed for use with character based types such as DalChar, DalVarchar etc.
The following example creates a DALParameter with its name, type, direction, size, and value initialized.
[Visual Basic]
Dim p As DGC.Data.Parameter
p = dal.CreateParameter("@pDescription", ParameterTypes.DalVarchar, ParameterDirections.DalInput, 100, "My description text.")
IDal Interface | DGC.Data Namespace | IDal.CreateParameter Overload List