Class SqlSafetyReport
- Namespace
- IntentSharp.Data
- Assembly
- IntentSharp.dll
What the SQL safety check decided about a statement.
public sealed class SqlSafetyReport
- Inheritance
-
objectSqlSafetyReport
- Inherited Members
-
object.Equals(object)object.Equals(object, object)object.GetHashCode()object.GetType()object.ReferenceEquals(object, object)object.ToString()
- Extension Methods
Constructors
- SqlSafetyReport()
Creates an empty report: no violations, so IsAllowed is true, and the statement kind "UNKNOWN".
Properties
- IsAllowed
True when the statement broke no rule; only an allowed statement is executed.
- ParameterNames
The parameters the statement uses, without their
@,:or$prefix, each listed once.
- ReferencedTables
The table names the statement reads or writes, without quotes or brackets, each listed once.
- StatementKind
The statement's first keyword in upper case, for example "SELECT", "WITH" or "INSERT"; "UNKNOWN" when no statement was checked.
- Violations
Each rule the statement broke, as a message that says what to change. Empty when it is allowed.