Click or drag to resize

SqlSanitizerIsValidSelectStatement Method

The SQL must not contain a single SELECT statement

Namespace:  Omada.OE.Model
Assembly:  Omada.OE.Model (in Omada.OE.Model.dll) Version: 15.0.0.0
Syntax
C#
public static bool IsValidSelectStatement(
	string sql,
	out string errorMessage
)

Parameters

sql
Type: SystemString
errorMessage
Type: SystemString
If result is false, it contains the error message, otherwise null

Return Value

Type: Boolean
True of the SQL is valid
See Also