Constructor Literal
- Namespace
- YndigoBlue.Velocity.Model
- Assembly
- YndigoBlue.Velocity.dll
Literal(T)
Creates a new literal value.
public Literal(T value)
Parameters
valueTThe constant value to wrap.
Remarks
The constructor automatically:
- Determines the database data type from the C# type
- Generates a unique parameter name for SQL safety
- Calculates length for string values
- Calculates precision and scale for decimal values