SqlSet.First Method
Returns the first element of the set.
Namespace: DbExtensions
Assembly: DbExtensions.dll
Syntax
public Object First()
Return Value
Type: Object
The first element in the set.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | The set is empty. |