namespace: Serenity.Data assembly: Serenity.Net.Data
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 | Logger |
True if query returns one result.