EntitySqlHelper.GetFirst method
namespace: Serenity.Data assembly: Serenity.Net.Services
Gets the first entity returned by executing the query. The result is loaded into the loader row of the query.
public static bool GetFirst(this SqlQuery query, IDbConnection connection)
| parameter | description |
|---|---|
| query | The query. |
| connection | The connection. |
Return Value
True if any rows returned
See Also
- class SqlQuery
- class EntitySqlHelper