EntityConnectionExtensions.Exists<TRow> method

namespace: Serenity.Data   assemblySerenity.Net.Entity

Checks if record matching specified criteria exists.

public static bool Exists<TRow>(this IDbConnection connection, ICriteria where)
    where TRow : class, IRow, new()
parameter description
TRow The type of the row.
connection The connection.
where The where criteria.

Return Value

True if record matching criteria exists.

See Also