Appearance
ExecuteScalarAsync Method
Definition
- Namespace:
JASE.Database - Assembly:
JASE.Database.dll
Overloads
Task<object> ExecuteScalarAsync(ISqlStatement statement, bool allowBatch = null, CommandType commandType = null, int commandTimeout = null, CancellationToken cancellationToken = null)
csharp
Task<object> ExecuteScalarAsync(ISqlStatement statement, bool allowBatch = null, CommandType commandType = null, int commandTimeout = null, CancellationToken cancellationToken = null)Asynchronously execute command against the existing connection and return Scalar object
Task<object> ExecuteScalarAsync(string command, IReadOnlyList<IParameter> parameters = null, bool allowBatch = null, CommandType commandType = null, int commandTimeout = null, CancellationToken cancellationToken = null)
csharp
Task<object> ExecuteScalarAsync(string command, IReadOnlyList<IParameter> parameters = null, bool allowBatch = null, CommandType commandType = null, int commandTimeout = null, CancellationToken cancellationToken = null)Asynchronously execute command against the existing connection and return Scalar object
Task<T> ExecuteScalarAsync(ISqlStatement statement, bool allowBatch = null, CommandType commandType = null, int commandTimeout = null, CancellationToken cancellationToken = null)
csharp
Task<T> ExecuteScalarAsync(ISqlStatement statement, bool allowBatch = null, CommandType commandType = null, int commandTimeout = null, CancellationToken cancellationToken = null)Asynchronously execute command against the existing connection and return Scalar object
Task<T> ExecuteScalarAsync(string command, IReadOnlyList<IParameter> parameters = null, bool allowBatch = null, CommandType commandType = null, int commandTimeout = null, CancellationToken cancellationToken = null)
csharp
Task<T> ExecuteScalarAsync(string command, IReadOnlyList<IParameter> parameters = null, bool allowBatch = null, CommandType commandType = null, int commandTimeout = null, CancellationToken cancellationToken = null)Asynchronously execute command against the existing connection and return Scalar object