Count
Gets the count of records in the database that match the criteria (if any provided).
This method will in addition set the AffectedRecords property with the number of records returned by this method.
If the ObjectState is Disconnected this method will return the count of rows in the ResultSet for this objects corrosponding table.
Returns:
| Type | |
|---|---|
| System.Int32 |
| C# | |
|---|---|
public int Count() | |
Target Platforms: .NET Framework 1.1 or .NET Framework 2.0