Click or drag to resize

IQueryResultSetTDataSingle Method

Retrieve one (and only one) result otherwise throw exception

Namespace: SanteDB.Core.Model.Query
Assembly: SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 3.0.2081-alpha+0a330d5f5a5d3cb3e6e945ef530e94ac5671b49c
Syntax
TData Single()

Return Value

TData

[Missing <returns> documentation for "M:SanteDB.Core.Model.Query.IQueryResultSet`1.Single"]

Remarks
This method will return only one record from the database, if more than one record is returned then an exception is thrown
See Also