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
value
objectThe value.
dbType
DbTypeThe database data type.
isArrayItem
boolif set to
true
the value is an array item.
Returns
- CommandBuilder.ParameterInfo
A CommandBuilder.ParameterInfo that represents the specified informations.