Class SimpleParameterInfo
- Namespace
- Dapper.SimpleSqlBuilder
- Assembly
- Dapper.SimpleSqlBuilder.dll
A class that defines a parameter and its properties.
public sealed class SimpleParameterInfo : ISimpleParameterInfo
Inheritance
Implements
Constructors
SimpleParameterInfo(object?, DbType?, int?, byte?, byte?)
Initializes a new instance of the SimpleParameterInfo class.
public SimpleParameterInfo(object? value, DbType? dbType = null, int? size = null, byte? precision = null, byte? scale = null)
Parameters
value
object?-
The parameter value.
dbType
DbType?-
The parameter DbType.
size
int?-
The parameter size.
precision
byte?-
The parameter precision.
scale
byte?-
The parameter scale.
Properties
DbType
Gets the parameter DbType.
public DbType? DbType { get; }
Property Value
Precision
Gets the parameter precision.
public byte? Precision { get; }
Property Value
- byte?
Scale
Gets the parameter scale.
public byte? Scale { get; }
Property Value
- byte?
Size
Gets the parameter size.
public int? Size { get; }
Property Value
- int?
Value
Gets the parameter value.
public object? Value { get; }