| SqlServerDialectSelectScalar Method |
Creates a scalar select SQL.
Namespace: LiteRepository.SqlServerAssembly: LiteRepository (in LiteRepository.dll) Version: 2.0.4
Syntaxpublic override string SelectScalar(
string tableName,
string expression,
string where
)
Parameters
- tableName
- Type: SystemString
Name of the table. - expression
- Type: SystemString
Scalar expression. For example: sum(column1). - where
- Type: SystemString
Where conditions. For example: column1 = 'abc' and column2 < 2.
Return Value
Type:
StringA string with a select scalar query.
See Also