Click or drag to resize

DataContextExecuteScalarTReturn Method

Returns only if only one result is available

Namespace:  SanteDB.OrmLite
Assembly:  SanteDB.OrmLite (in SanteDB.OrmLite.dll) Version: 2.2.1
Syntax
public TReturn ExecuteScalar<TReturn>(
	SqlStatement sqlStatement
)

Parameters

sqlStatement
Type: SanteDB.OrmLiteSqlStatement

[Missing <param name="sqlStatement"/> documentation for "M:SanteDB.OrmLite.DataContext.ExecuteScalar``1(SanteDB.OrmLite.SqlStatement)"]

Type Parameters

TReturn

[Missing <typeparam name="TReturn"/> documentation for "M:SanteDB.OrmLite.DataContext.ExecuteScalar``1(SanteDB.OrmLite.SqlStatement)"]

Return Value

Type: TReturn

[Missing <returns> documentation for "M:SanteDB.OrmLite.DataContext.ExecuteScalar``1(SanteDB.OrmLite.SqlStatement)"]

See Also