Class BaseResult
Base abstract class that defines elements inherited by all result types.
Namespace: MySqlX.XDevAPI.Common
Assembly: MySql.Data.dll
Version: 9.1.0
Syntax
public abstract class BaseResult
Properties
AffectedItemsCount
Gets the number of records affected by the statement that generated this result.
Declaration
public ulong AffectedItemsCount { get; }
Property Value
Type | Description |
---|---|
System.UInt64 |
Protocol
Gets the ProtocolBase object of the session.
Declaration
protected ProtocolBase Protocol { get; }
Property Value
Type | Description |
---|---|
ProtocolBase |
Warnings
Gets a read-only collection of WarningInfo objects derived from statement execution.
Declaration
public ReadOnlyCollection<WarningInfo> Warnings { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ReadOnlyCollection<WarningInfo> |
WarningsCount
Gets the number of warnings in the Warnings collection derived from statement execution.
Declaration
public int WarningsCount { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
Buffer()
No action is performed by this method. It is intended to be overriden by child classes if required.
Declaration
protected virtual void Buffer()