SqlSet.Count Method
Returns the number of elements in the set.
Namespace: DbExtensions
Assembly: DbExtensions.dll
Overloads
| Name | Description |
|---|---|
| Count() | Returns the number of elements in the set. |
| Count(OperatorStringHandler) | Returns a number that represents how many elements in the set satisfy a condition. |
| Count(String) | Returns a number that represents how many elements in the set satisfy a condition. |
Syntax
public int Count()
Return Value
Int32
The number of elements in the set.
Exceptions
| Exception | Condition |
|---|---|
| OverflowException | The number of elements is larger than MaxValue. |