Table of Contents

Class SqlBatch

Namespace
ItTiger.TigerQuery
Assembly
ItTiger.TigerQuery.dll
Represents one logical SQL batch produced by SqlCmdParser.
public sealed class SqlBatch
Inheritance
SqlBatch
Inherited Members

Remarks

A GO n separator is represented by one instance whose ExecCount is n; the SQL text is not duplicated.

Properties

ExecCount

Gets the repeat count parsed from the terminating GO command.
public int ExecCount { get; init; }

Property Value

int

Remarks

The default is one. Zero and negative values produce no executions but still describe a logical batch.

StartColumn

Gets the one-based source column at which batch text begins.
public int StartColumn { get; init; }

Property Value

int

StartLine

Gets the one-based source line at which batch text begins.
public int StartLine { get; init; }

Property Value

int

Text

Gets the variable-expanded SQL text sent to SQL Server.
public string Text { get; init; }

Property Value

string