Click or drag to resize
SqlServerDialectSelectScalar Method
Creates a scalar select SQL.

Namespace: LiteRepository.SqlServer
Assembly: LiteRepository (in LiteRepository.dll) Version: 2.0.4
Syntax
C#
public 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: String
A string with a select scalar query.
See Also