| 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
)
Public Function FirstOrDefault (
returnType As Type,
stmt As SqlStatement
) As Object
public:
Object^ FirstOrDefault(
Type^ returnType,
SqlStatement^ stmt
)
member FirstOrDefault :
returnType : Type *
stmt : SqlStatement -> Object
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