Class WindowFunctionName
Validates a caller-supplied window function name before it is emitted into SQL.
public static class WindowFunctionName
Inheritance
Methods
IsPlainIdentifier(string?)
True when name holds only letters, digits and underscores.
public static bool IsPlainIdentifier(string? name)
ZeroArgCall(string?)
Renders a zero-argument call for name, or throws when the name is not a
public static string ZeroArgCall(string? name)
Remarks
The name arrives from , a public settable string, so it is
data and not SQL. Every provider used to append it to the call text as-is
(func + "()"), which let a quote, a bracket or a comment marker reach the statement and
turn the remainder of the name into live SQL (SQLI-PoC: window function name fallback, all
dialects including Pro). Providers call this helper instead: a name that is not a plain
identifier is refused rather than pasted.