Click or drag to resize

InvalidSqlException Class

The exception is thrown when SQL is being saved which could look like a injection attack. The SQL query should not be included in the message, use the SqlQuery property.
Inheritance Hierarchy
SystemObject
  SystemException
    SystemApplicationException
      Omada.OE.Model.ExceptionsInvalidSqlException

Namespace:  Omada.OE.Model.Exceptions
Assembly:  Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntax
C#
public class InvalidSqlException : ApplicationException

The InvalidSqlException type exposes the following members.

Constructors
Properties
  NameDescription
Public propertySqlQuery
Sql query
Top
Extension Methods
  NameDescription
Public Extension MethodToBool
Converts object to boolean.
(Defined by ObjectExtensions.)
Public Extension MethodToDateTime
Converts object to DateTime.
(Defined by ObjectExtensions.)
Public Extension MethodToInt
Converts object to integer.
(Defined by ObjectExtensions.)
Top
See Also