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


On this page
    MongoDBScript Class Members
    On this page

    The following tables list the members exposed by MongoDBScript.

    Public Constructors
     NameDescription
    Public ConstructorOverloaded. Initializes a new instance of the MongoDBScript class.  
    Top
    Protected Fields
     NameDescription
    Protected Field (Inherited from Devart.Common.DbScript)
    Protected Field (Inherited from Devart.Common.DbScript)
    Top
    Public Properties
     NameDescription
    Public PropertyGets or sets the wait time before terminating an attempt to execute a script and generating an error. (Inherited from Devart.Common.DbScript)
    Public PropertyGets or sets the MongoDBConnection used by the script. The default value is a null reference (Nothing in Visual Basic).  
    Public Property (Inherited from System.ComponentModel.Component)
    Public PropertyGets or sets the name of component that will be displayed in dbMonitor application. (Inherited from Devart.Common.DbScript)
    Public PropertyOverridden. Gets or sets the text of the script: SQL statements of the SQL engine separated by semicolons.  
    Public Property (Inherited from System.ComponentModel.Component)
    Public PropertyGets the collection of statements that make up the script. (Inherited from Devart.Common.DbScript)
    Top
    Protected Properties
    Public Methods
     NameDescription
    Public MethodTries to cancel the execution of a Devart.Common.DbScript descendant. (Inherited from Devart.Common.DbScript)
    Public Method (Inherited from System.MarshalByRefObject)
    Public MethodOverloaded.  (Inherited from Devart.Common.DbScript)
    Public MethodExecutes the script specified in ScriptText property. (Inherited from Devart.Common.DbScript)
    Public MethodExecutes the next statement from the script. (Inherited from Devart.Common.DbScript)
    Public Method (Inherited from System.MarshalByRefObject)
    Public Method (Inherited from System.MarshalByRefObject)
    Public MethodOverloaded. Prepares a stream to be executed as SQL script. (Inherited from Devart.Common.DbScript)
    Public MethodPositions ExecuteNext method on the first statement in the script. (Inherited from Devart.Common.DbScript)
    Public Method (Inherited from System.ComponentModel.Component)
    Top
    Protected Methods
     NameDescription
    Protected Method (Inherited from Devart.Common.DbScript)
    Protected Method (Inherited from Devart.Common.DbScript)
    Protected Method (Inherited from Devart.Common.DbScript)
    Protected Method (Inherited from Devart.Common.DbScript)
    Protected Method (Inherited from Devart.Common.DbScript)
    Protected Method (Inherited from Devart.Common.DbScript)
    Protected Method (Inherited from System.ComponentModel.Component)
    Protected Method (Inherited from Devart.Common.DbScript)
    Protected MethodOverridden. Reads the next statement of the script; returns false when there are no more statements. Throws System.InvalidOperationException if the connection uses Sql Engine=false.  
    Protected Method (Inherited from System.ComponentModel.Component)
    Protected Method (Inherited from Devart.Common.DbScript)
    Protected Method (Inherited from Devart.Common.DbScript)
    Protected Method (Inherited from Devart.Common.DbScript)
    Protected Method (Inherited from Devart.Common.DbScript)
    Protected MethodOverloaded.  (Inherited from System.MarshalByRefObject)
    Protected Method (Inherited from Devart.Common.DbScript)
    Protected Method (Inherited from Devart.Common.DbScript)
    Protected Method (Inherited from Devart.Common.DbScript)
    Top
    Public Events
     NameDescription
    Public Event (Inherited from System.ComponentModel.Component)
    Public EventOccurs when a SQL statement within script has produced an error. (Inherited from Devart.Common.DbScript)
    Public EventOccurs when a SQL statement within script has successfully executed. (Inherited from Devart.Common.DbScript)
    Top
    See Also