Table of Contents

Constructor Literal

Namespace
YndigoBlue.Velocity.Model
Assembly
YndigoBlue.Velocity.dll

Literal(T)

Creates a new literal value.

public Literal(T value)

Parameters

value T

The 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