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


On this page
    MongoDBLoader Class Members
    On this page

    The following tables list the members exposed by MongoDBLoader.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded. Initializes a new instance of the MongoDBLoader class.  
    Top
    Protected Fields
     NameDescription
    Protected Field (Inherited from Devart.Common.DbLoader)
    Protected Field (Inherited from Devart.Common.DbLoader)
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets the number of rows sent in one insert command when Sql Engine is false. The default value is 1000; 1 sends every row with a separate command. The value cannot be less than 1 and cannot be changed while the loader is open.  
    Public PropertyGets or sets a size of data packet loaded to the server. (Inherited from Devart.Common.DbLoader)
    Public PropertyGets the MongoDBLoaderColumnCollection that holds the columns of the loader.  
    Public PropertyGets or sets the MongoDBConnection used by the loader.  
    Public Property (Inherited from System.ComponentModel.Component)
    Public PropertyOverloaded. Sets the value of the column with the specified name for Devart.Common.DbLoaderColumnCollection. (Inherited from Devart.Common.DbLoader)
    Public Property (Inherited from System.ComponentModel.Component)
    Public PropertyOverridden. Gets or sets the name of the collection that will be loaded.  
    Top
    Protected Properties
    Public Methods
     NameDescription
    Public MethodOverloaded. Overridden. Closes the loader; if the parameter is true, sends the rows that are still waiting in the batch, otherwise discards them.  
    Public MethodOverridden. Fills the Columns collection with the fields of the collection, as returned by the "Columns" schema collection of the connection.  
    Public Method (Inherited from System.MarshalByRefObject)
    Public MethodOverloaded. Overridden. Closes the loader, sending the pending rows, and releases the resources used by the MongoDBLoader.  
    Public Method (Inherited from System.MarshalByRefObject)
    Public Method (Inherited from System.MarshalByRefObject)
    Public MethodOverloaded. Loads data into the table from the specified DataTable. (Inherited from Devart.Common.DbLoader)
    Public MethodOverridden. Sends the current row to the server or adds it to the batch, and starts a new row.  
    Public MethodOverridden. Prepares the loader for loading data: creates the columns from the fields of the collection if Columns is empty, and builds the insert command.  
    Public MethodOverloaded. Sets the value of the column with the specified index to NULL. (Inherited from Devart.Common.DbLoader)
    Public MethodOverloaded. Overridden. Sets the value of the column at the specified ordinal and name.  
    Public Method (Inherited from System.ComponentModel.Component)
    Top
    Protected Methods
     NameDescription
    Protected Method (Inherited from Devart.Common.DbLoader)
    Protected Method (Inherited from Devart.Common.DbLoader)
    Protected Method (Inherited from Devart.Common.DbLoader)
    Protected MethodOverridden. Creates a MongoDBLoaderColumn with the specified name and the MongoDB type that corresponds to the specified .NET type.  
    Protected Method (Inherited from Devart.Common.DbLoader)
    Protected Method (Inherited from Devart.Common.DbLoader)
    Protected Method (Inherited from Devart.Common.DbLoader)
    Protected Method (Inherited from System.ComponentModel.Component)
    Protected Method (Inherited from Devart.Common.DbLoader)
    Protected Method (Inherited from System.ComponentModel.Component)
    Protected MethodOverridden. Creates the MongoDBLoaderColumnCollection that holds the columns of the loader.  
    Protected Method (Inherited from Devart.Common.DbLoader)
    Protected MethodOverloaded.  (Inherited from System.MarshalByRefObject)
    Protected MethodOverridden. Returns the specified name unchanged: field names are not quoted.  
    Protected MethodOverridden. Returns the specified name unchanged.  
    Top
    Public Events
     NameDescription
    Public Event (Inherited from System.ComponentModel.Component)
    Top
    See Also