Skip to content

SqlStatement Class ​

Definition ​

Represents a fully constructed SQL statement and its bound parameters.

  • Namespace: JASE.Database
  • Assembly: JASE.Database.dll

Properties ​

NameDescription
ColumnsColumns list
ColumnSignatureCalculated FNV-1a hash for the Columns list
ParametersThe list of parameters used by this statement.
StatementThe SQL command text to be executed.

Methods ​

NameDescription
void AddParameter(string name, object value, DataValueType type = null)Add a Parameter to the SqlStatement - runtime protected from execution outside of JASE.Database
string ToDebug(bool includeParameterValues = null)Debug-friendly dump of SQL + parameter list. Parameter values are redacted by default.