Property RecordsAffected
RecordsAffected
Gets the number of rows changed, inserted, or deleted by execution of the SQL statement.
public int RecordsAffected { get; }
Property Value
- int
The number of rows changed, inserted, or deleted; 0 if no rows were affected or the statement failed; and -1 for SELECT statements.