Show / Hide Table of Contents

    ISqlExecutor.Scalar Method

    .NET Standard 2.x

    Executes the SQL SELECT statement and returns the first column of the first row in the result set. All other columns and rows are ignored.

    Namespace: SnapObjects.Data

    Assembly: SnapObjects.Data.dll

    Overloads

    Method Description
    Scalar<TValue>(string sqlText, params object[] parameters) Executes the SQL SELECT statement and returns the first column of the first row in the result set. All other columns and rows are ignored.
    Scalar<TValue>(ISqlQueryBuilder sqlQueryBuilder, params object[] parameters) Executes the SQL SELECT statement created by an ISqlQueryBuilder object and returns the first column of the first row in the result set. All other columns and rows are ignored.
    Back to top Generated by Appeon