SqlSet.LongCount Method

Returns an Int64 that represents the total number of elements in the set.

Namespace: DbExtensions
Assembly: DbExtensions.dll

Overloads

  Name Description
Public method LongCount() Returns an Int64 that represents the total number of elements in the set.
Public method 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.

See Also

Reference

SqlSet Class
DbExtensions Namespace

© Max Toro Q.