Click or drag to resize

AddStatement Class

Represents a chaining collection insert statement.
Inheritance Hierarchy
SystemObject
  MySqlX.XDevAPI.CommonBaseStatementResult
    MySqlX.XDevAPI.CommonTargetedBaseStatementCollection, Result
      MySqlX.XDevAPI.CRUDCrudStatementResult
        MySqlX.XDevAPI.CRUDAddStatement

Namespace:  MySqlX.XDevAPI.CRUD
Assembly:  MySql.Data (in MySql.Data.dll) Version: 8.0.22
Syntax
public class AddStatement : CrudStatement<Result>

The AddStatement type exposes the following members.

Properties
Methods
  NameDescription
Public methodAdd
Adds documents to the collection.
Protected methodConvertToPreparedStatementT
Converts a statement to prepared statement for a second execution without any change but Bind, Limit, or Offset.
(Inherited from BaseStatementTResult.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodExecute
Executes the Add statement.
(Overrides BaseStatementTResultExecute.)
Public methodExecuteAsync
Executes a statement asynchronously.
(Inherited from BaseStatementTResult.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected methodGetDocs
Converts base Objects into DbDoc objects.
(Inherited from CrudStatementTResult.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodSetChanged
Sets the status as Changed for prepared statement validation.
(Inherited from BaseStatementTResult.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodValidateOpenSession
Validates if the session is open and valid.
(Inherited from BaseStatementTResult.)
Top
Fields
See Also