EntityConnectionExtensions.Exists<TRow> method
namespace: Serenity.Data assembly: Serenity.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
- interface ICriteria
- interface IRow
- class EntityConnectionExtensions