| SqlValidatorValidateQueryIsSafe Method |
The validate if query is select.
Namespace:
Omada.OE.Solution.OIM.Assembly.AppLogic.Sql
Assembly:
Omada.OE.Solution.OIM.Assembly (in Omada.OE.Solution.OIM.Assembly.dll) Version: 15.0.0.0
Syntaxpublic static bool ValidateQueryIsSafe(
string sql,
List<string> forbiddenSchemas
)
Parameters
- sql
- Type: SystemString
The sql.
- forbiddenSchemas
- Type: System.Collections.GenericListString
The forbidden Schemas.
Return Value
Type:
Boolean
The
Boolean.
See Also