Documentation
Table of Contents

Class QueryPlan

Namespace
IntentSharp.Data
Assembly
IntentSharp.dll

The model's answer: a statement, its parameters and an explanation. Checked before anything runs.

public sealed class QueryPlan
Inheritance
object
QueryPlan
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Extension Methods

Constructors

QueryPlan()

Creates an empty plan: no statement, parameters, explanation or tables.

Properties

Explanation

The model's explanation of the statement, or of why it declined.

Parameters

The value of each parameter the statement uses. Names match case-insensitively, with or without the leading @, : or $; a null value binds as SQL NULL. A parameter with no entry stops execution.

Sql

One SQL statement with every comparison value written as a named parameter, for example @id. Empty when the model declined the request.

TablesUsed

The tables the model says the statement uses. Informational: the safety check finds the referenced tables itself.