'Declaration Public Overrides ReadOnly Property RecordsAffected As Integer
public override int RecordsAffected {get;}
'Declaration Public Overrides ReadOnly Property RecordsAffected As Integer
public override int RecordsAffected {get;}
The value of this property is not cumulative. For example, if two records are inserted in the first statement in batch mode, and the second statement affected 3 records, the value of RecordsAffected will be 3.
IsClosed and RecordsAffected are the only properties that you can call after the DbDataReaderBase is closed.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2