ISqlExecutor.SelectOneAsync Method
.NET Standard 2.x
Asynchronously 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 |
---|---|
SelectOneAsync<TModel>(string sqlText, params object[] parameters) | Asynchronously executes the SQL SELECT statement and returns the first row in the result set. All other rows are ignored. |
SelectOneAsync<TModel>(string sqlText, object[] parameters, CancellationToken cancellationToken) | Asynchronously executes the SQL SELECT statement and returns the first row in the result set. All other rows are ignored. |
SelectOneAsync<TModel>(ISqlQueryBuilder queryBuilder, params object[] parameters) | Asynchronously executes the SQL SELECT statement generated by an ISqlQueryBuilder object and returns the first row in the result set. All other rows are ignored. |
SelectOneAsync<TModel>(ISqlQueryBuilder queryBuilder, object[] parameters, CancellationToken cancellationToken) | Asynchronously executes the SQL SELECT statement generated by an ISqlQueryBuilder object and returns the first row in the result set. All other rows are ignored. |