dotConnect for MongoDB Documentation
Devart.Data.MongoDB Namespace / MongoDBDump Class
Properties Methods Events


On this page
    MongoDBDump Class Members
    On this page

    The following tables list the members exposed by MongoDBDump.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded. Initializes a new instance of the MongoDBDump class.  
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets the MongoDBConnection used to back up or restore the collection.  
    Public Property (Inherited from System.ComponentModel.Component)
    Public PropertyGets or sets the database of the collection. The default value is an empty string, which means the database of the connection at the moment of each backup or restore; the property is not changed by them.  
    Public PropertyOverridden. Gets or sets the content of the collection in the format specified by the ExportFormat property.  
    Public PropertyGets or sets the format of the dump. The default value is MongoDBDumpFormat.Command.  
    Public Property (Inherited from System.ComponentModel.Component)
    Public PropertyOverridden. Gets or sets the name of the collection to back up or restore. Only one collection is supported; a list of several names separated by commas or semicolons throws System.ArgumentException. The default value is an empty string.  
    Top
    Protected Properties
     NameDescription
    Protected Property (Inherited from Devart.Common.DbDump)
    Protected Property (Inherited from Devart.Common.DbDump)
    Protected Property (Inherited from System.ComponentModel.Component)
    Protected Property (Inherited from System.ComponentModel.Component)
    Protected PropertyOverridden. Gets the encoding of the dump files and streams: UTF-16 (Encoding.Unicode).  
    Protected Property (Inherited from System.ComponentModel.Component)
    Protected Property (Inherited from Devart.Common.DbDump)
    Top
    Public Methods
     NameDescription
    Public MethodOverloaded. Generates a script and writes it to the DumpText property. (Inherited from Devart.Common.DbDump)
    Public MethodOverloaded. Generates a script with a backup of the data, returned by the specified query, and writes it to the DumpText property. (Inherited from Devart.Common.DbDump)
    Public MethodOverloaded. Starts an asynchronous invocation of a Backup method. (Inherited from Devart.Common.DbDump)
    Public MethodOverloaded. Starts an asynchronous invocation of a BackupQuery(String) method. (Inherited from Devart.Common.DbDump)
    Public MethodOverloaded. Starts an asynchronous invocation of a Restore method. (Inherited from Devart.Common.DbDump)
    Public Method (Inherited from System.MarshalByRefObject)
    Public MethodOverloaded.  (Inherited from System.ComponentModel.Component)
    Public MethodEnds an asynchronous invocation of the Backup method. (Inherited from Devart.Common.DbDump)
    Public MethodEnds an asynchronous invocation of the BackupQuery method. (Inherited from Devart.Common.DbDump)
    Public MethodEnds an asynchronous invocation of the Restore method. (Inherited from Devart.Common.DbDump)
    Public Method (Inherited from System.MarshalByRefObject)
    Public Method (Inherited from System.MarshalByRefObject)
    Public MethodOverloaded. Executes script specified in the Devart.Common.DbDump descendant property. (Inherited from Devart.Common.DbDump)
    Public Method (Inherited from System.ComponentModel.Component)
    Top
    Protected Methods
     NameDescription
    Protected Method (Inherited from Devart.Common.DbDump)
    Protected Method (Inherited from System.ComponentModel.Component)
    Protected Method (Inherited from System.ComponentModel.Component)
    Protected MethodOverridden. Writes the documents of the collection specified by the Tables property to the specified TextWriter in the format specified by ExportFormat.  
    Protected MethodOverridden. Writes the result of the specified query to the specified TextWriter in the format specified by ExportFormat; the query is a MongoDB command in JSON when Sql Engine is false and an SQL query when Sql Engine is true.  
    Protected MethodOverridden. Restores the documents from the specified TextReader in the format specified by ExportFormat.  
    Protected MethodOverloaded.  (Inherited from System.MarshalByRefObject)
    Top
    Public Events
     NameDescription
    Public Event (Inherited from System.ComponentModel.Component)
    Top
    See Also