Click or drag to resize

CrudStatementTResult Class

Represents a collection statement.
Inheritance Hierarchy
SystemObject
  MySqlX.XDevAPI.CommonBaseStatementTResult
    MySqlX.XDevAPI.CommonTargetedBaseStatementCollection, TResult
      MySqlX.XDevAPI.CRUDCrudStatementTResult
        MySqlX.XDevAPI.CRUDAddStatement
        MySqlX.XDevAPI.CRUDCreateCollectionIndexStatement

Namespace:  MySqlX.XDevAPI.CRUD
Assembly:  MySql.Data (in MySql.Data.dll) Version: 8.0.22
Syntax
public abstract class CrudStatement<TResult> : TargetedBaseStatement<Collection, TResult>
where TResult : Result

Type Parameters

TResult

The CrudStatementTResult type exposes the following members.

Properties
Methods
  NameDescription
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 base statements. This method is intended to be defined by child classes.
(Inherited from BaseStatementTResult.)
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.
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