SqlHelper.Exists method
Executes the query returning true if it has at least one result.
public static bool Exists(this SqlQuery query, IDbConnection connection, ILogger logger = null)
| parameter | description |
|---|---|
| query | The query. |
| connection | The connection. |
| logger | The logger. |
Return Value
True if the query returns at least one result.