EntitySqlHelper.GetFirst method

namespace: Serenity.Data   assemblySerenity.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