Sql.Net Class Library Documentation

ISqlOmRenderer.RenderRowCount Method 

Renders a row count SELECT statement.

string RenderRowCount(
   SelectQuery query


Query definition to count rows for

Return Value

Generated SQL statement


Renders a SQL statement which returns a result set with one row and one cell which contains the number of rows query can generate. The generated statement will work nicely with ExecuteScalar method.

See Also

ISqlOmRenderer Interface | Reeb.SqlOM.Render Namespace