| 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
)
Public Function ExecuteScalar(Of TReturn) (
sqlStatement As SqlStatement
) As TReturn
public:
generic<typename TReturn>
TReturn ExecuteScalar(
SqlStatement^ sqlStatement
)
member ExecuteScalar :
sqlStatement : SqlStatement -> 'TReturn
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