System.Data.Generic
SQLInjectionInspectorValidate Method (String) |
Validate the SQL string and thrown an exception if harmfull injections are found.
Namespace: System.Data.Generic
Assembly: System.Data.Generic (in System.Data.Generic.dll) Version: 1.9.5473.30542 (1.9.5473.2392)

public static string Validate( string SQL )
Public Shared Function Validate ( SQL As String ) As String
public: static String^ Validate( String^ SQL )
static member Validate : SQL : string -> string
Parameters
- SQL
- Type: SystemString
SQL statement to validate.
Return Value
Type: StringSafe SQL statement.

This class does not ensure unsafe SQL. Please use all means to secure your SQL access.
