dotConnect for MongoDB Documentation
Devart.Data.MongoDB Namespace / MongoDBDataReader Class / RecordsAffected Property

On this page
    RecordsAffected Property (MongoDBDataReader)
    On this page
    Gets the number of documents inserted, deleted or modified by the command. In the native mode it is the n value of the reply for insert and delete, nModified for update, and 0 for other commands.
    Syntax
    'Declaration
     
    Public Overrides ReadOnly Property RecordsAffected As Integer
    public override int RecordsAffected {get;}
    See Also