Class CommandBuilder.ParameterInfo
- Namespace
- Dynamicweb.Data
- Assembly
- Dynamicweb.Core.dll
Represents the parameter information used to create IDbCommand instances.
public class CommandBuilder.ParameterInfo
- Inheritance
-
CommandBuilder.ParameterInfo
- Inherited Members
Constructors
ParameterInfo()
Initializes a new instance of the CommandBuilder.ParameterInfo class.
public ParameterInfo()
Properties
DbType
public DbType DbType { get; set; }
Property Value
IsArrayItem
public bool IsArrayItem { get; set; }
Property Value
Value
public object? Value { get; set; }
Property Value
Methods
Create(object?, DbType, bool)
A CommandBuilder.ParameterInfo from the specified informations.
public static CommandBuilder.ParameterInfo Create(object? value, DbType dbType, bool isArrayItem)
Parameters
valueobjectThe value.
dbTypeDbTypeThe database data type.
isArrayItemboolif set to
truethe value is an array item.
Returns
- CommandBuilder.ParameterInfo
A CommandBuilder.ParameterInfo that represents the specified informations.