QueryParameter Type
Represents a parameter used in SQL queries, stored procedures, or functions. Contains all metadata needed to properly bind .NET values to database parameters.
Record fields
| Record Field |
Description
|
|
Whether the parameter is input, output, or bidirectional
|
Full Usage:
Length
Field type: int voption
|
Maximum length for string/binary parameters
|
Full Usage:
Name
Field type: string
|
|
Full Usage:
Ordinal
Field type: int
|
Position of the parameter in the parameter list (zero-based)
|
|
Type mapping information for converting between .NET and database types
|
Static members
| Static member |
Description
|
Full Usage:
QueryParameter.Create(name, ordinal, ?typeMapping, ?direction, ?length)
Parameters:
string
ordinal : int
?typeMapping : TypeMapping
?direction : ParameterDirection
?length : int
Returns: QueryParameter
|
|