Table of Contents

Method Normalize

Namespace
QueryGuard
Assembly
QueryGuard.Core.dll

Normalize(string?)

Normalizes a command's text.

string Normalize(string? commandText)

Parameters

commandText string

The SQL as the provider produced it. May be null.

Returns

string

Normalized SQL with the same token order, or an empty string when there was nothing to normalize.