SqlSet.LongCount Method
Returns an Int64 that represents the total number of elements in the set.
Namespace: DbExtensions
Assembly: DbExtensions.dll
Overloads
Name | Description | |
---|---|---|
LongCount() | Returns an Int64 that represents the total number of elements in the set. | |
LongCount(String, Object[]) | Returns an Int64 that represents how many elements in the set satisfy a condition. |
Syntax
public long LongCount()
Return Value
Int64
The number of elements in the set.
Exceptions
Exception | Condition |
---|---|
OverflowException | The number of elements is larger than MaxValue. |