Execute Sql Parameter Mapping Type Element
X-Ref:
- Ast Execute Sql Parameter Mapping Type Node
- Ast Variable Parameter Mapping Node
- Ast Parameter Mapping Type Node
Attributes
Attribute | API Type | Default | Description |
---|---|---|---|
DataType | DbType | This value specifies the data type of the parameter to which the variable value will be converted. This is a required property | |
Name | String | This value specifies the name of the parameter that will be mapped to the target value. This is a required property | |
VariableName | AstVariableBaseNode | This value specifies the variable that will be mapped into the specified query parameter. This is a required reference to an existing definiton. | |
DataTypeCodeOverride | Int32 | -1 | This is an advanced setting. If the BIML compiler incorrectly maps the DataType, this property enables the direct setting of the data type integer value for the connection data type. (For example the data type value from sqlncli.h or oledb.h) |
Direction | Direction | Input | This value speficies whether the direction of the parameter is an input, an output, or a return value. |
Id | Guid | 00000000-0000-0000-0000-000000000000 | Allows the developer to specify a unique identifier (GUID) for the variable mapping. This can be used to retain a consistent ID between builds. |
Length | Int32 | 0 | This value specifies the length of the mapped parameter value. This property only applies to parameters that support a length modifier, such as string or binary types. |
Collection Children
Child | API Type | Description |
---|---|---|
<Annotations> <Annotation /> </Annotations> | AstAnnotationNode | This is a collection of annotation items that can be used to specify documentation, tags, or other information. Annotations are particularly useful for storing information about nodes that can be used by BimlScript code. |