[]
Validates the specified query with the given parameters.
string ValidateQuery(string query, IDataParameter[] parameters)
Type | Name | Description |
---|---|---|
string | query | The SQL query to validate. |
IDataParameter[] | parameters | An array of IDataParameter objects representing the query parameters. |
Type | Description |
---|---|
string | A string containing the validation message. An empty string indicates that the query is valid. |