Click or drag to resize

DataContextFirstOrDefault Method (Type, 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 Object FirstOrDefault(
	Type returnType,
	SqlStatement stmt
)

Parameters

returnType
Type: SystemType

[Missing <param name="returnType"/> documentation for "M:SanteDB.OrmLite.DataContext.FirstOrDefault(System.Type,SanteDB.OrmLite.SqlStatement)"]

stmt
Type: SanteDB.OrmLiteSqlStatement

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

Return Value

Type: Object

[Missing <returns> documentation for "M:SanteDB.OrmLite.DataContext.FirstOrDefault(System.Type,SanteDB.OrmLite.SqlStatement)"]

See Also