Click or drag to resize

DataContextFirstOrDefaultTModel Method (SqlStatement)

First or default returns only the first object or null if not found

Namespace:  SanteDB.OrmLite
Assembly:  SanteDB.OrmLite (in SanteDB.OrmLite.dll) Version: 2.2.1
Syntax
public TModel FirstOrDefault<TModel>(
	SqlStatement stmt
)

Parameters

stmt
Type: SanteDB.OrmLiteSqlStatement

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

Type Parameters

TModel

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

Return Value

Type: TModel

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

See Also