ISqlExecutor.SelectOne Method
.NET Standard 2.x
Executes the SQL SELECT statement and returns the first row in the result set. All other rows are ignored.
Namespace: SnapObjects.Data
Assembly: SnapObjects.Data.dll
Overloads
Method | Description |
---|---|
SelectOne<TModel>(string sqlText, params object[] parameters) | Executes the SQL SELECT statement and returns the first row in the result set. All other rows are ignored. |
SelectOne<TModel>(ISqlQueryBuilder queryBuilder, params object[] parameters) | Executes the SQL SELECT statement generated by an ISqlQueryBuilder object and returns the first row in the result set. All other rows are ignored. |