DataConnector | ComponentOne
C1.AdoNet.D365S Assembly / C1.AdoNet.D365S Namespace / C1D365SCommand Class / ExecuteScalarAsync Method

In This Topic
    ExecuteScalarAsync Method (C1D365SCommand)
    In This Topic
    An asynchronous version of C1.DataConnector.AdoNet.DbCommandWrap<TInnerConnection,TInnerCommand,TInnerParameter>.ExecuteScalar, which executes the query and returns the first column of the first row in the result set returned by the query. All other columns and rows are ignored. Invokes C1.DataConnector.AdoNet.DbCommandWrap<TInnerConnection,TInnerCommand,TInnerParameter>.ExecuteScalarAsync with System.Threading.CancellationToken.None.
    Overload List
    See Also