Click or drag to resize

BaseStatementTResult Class

Base abstract class for API statement.
Inheritance Hierarchy

Namespace:  MySqlX.XDevAPI.Common
Assembly:  MySql.Data (in MySql.Data.dll) Version: 8.0.22
Syntax
public abstract class BaseStatement<TResult>
where TResult : BaseResult

Type Parameters

TResult

The BaseStatementTResult type exposes the following members.

Constructors
Properties
  NameDescription
Public propertySession
Gets the Session that owns the statement.
Top
Methods
  NameDescription
Protected methodConvertToPreparedStatementT
Converts a statement to prepared statement for a second execution without any change but Bind, Limit, or Offset.
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.
Public methodExecuteAsync
Executes a statement asynchronously.
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.)
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.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodValidateOpenSession
Validates if the session is open and valid.
Top
Fields
  NameDescription
Protected field_stmtId
Top
See Also