Interface ISqlQueryBehavior
Interface for determining if a SQL query is safe or not according to criteria implemented in child class
Namespace: Workspace.XBR.Xperiflow.Parsing.SQL
Assembly: Xperiflow.dll
Declaration
public interface ISqlQueryBehavior
Properties
SqlQuery
The SQL query string to be evaluated
Declaration
string SqlQuery { get; set; }
ListenerType
Returns whether the query is safe or not and the PermissionLevel required to execute it
Declaration
ParseTreeSafetyListenerType ListenerType { get; init; }
Methods
EvaluateQuery()
Evaluates the query and returns a QueryBehaviorResponse
object
Declaration
QueryBehaviorResponse EvaluateQuery()