Show / Hide Table of Contents

    ISqlModelMapper.ScalarAsync Method

    .NET Standard 2.x

    Asynchronously retrieves data from the first column, in the first row, for the specified SQL expression, according to the criteria specified in a TModel class.

    Namespace: SnapObjects.Data

    Assembly: SnapObjects.Data.dll

    Overloads

    Method Description
    ScalarAsync<TModel, TValue>(string expression, params object[] parameters) Asynchronously retrieves data from the first column, in the first row, for the specified SQL expression, according to the criteria specified in a TModel class.
    ScalarAsync<TModel, TValue>(string expression, object[] parameters, CancellationToken cancellationToken) Asynchronously retrieves data from the first column, in the first row, for the specified SQL expression, according to the criteria specified in a TModel class.
    Back to top Generated by Appeon