Class RemoveStatement<T>
Represents a chaining collection remove statement.
Namespace: MySqlX.XDevAPI.CRUD
Assembly: MySql.Data.dll
Version: 9.1.0
Syntax
public class RemoveStatement<T> : FilterableStatement<RemoveStatement<T>, Collection<T>, Result, T>
Type Parameters
Name | Description |
---|---|
T |
Methods
Execute()
Executes the remove statement.
Declaration
public override Result Execute()
Returns
Type | Description |
---|---|
Result | A Resultobject containing the results of the execution. |
Overrides
MySqlX.XDevAPI.Common.BaseStatement<MySqlX.XDevAPI.Common.Result, T>.Execute()
Sort(String[])
Sets user-defined sorting criteria for the operation. The strings use normal SQL syntax like "order ASC" or "pages DESC, age ASC".
Declaration
public RemoveStatement<T> Sort(params string[] order)
Parameters
Type | Name | Description |
---|---|---|
System.String[] | order | The order criteria. |
Returns
Type | Description |
---|---|
RemoveStatement<T> | A generic object representing the implementing statement type. |
Where(String)
Enables the setting of Where condition for this operation.
Declaration
[Obsolete("Where(string condition) has been deprecated since version 8.0.17.")]
public RemoveStatement<T> Where(string condition)
Parameters
Type | Name | Description |
---|---|---|
System.String | condition | The Where condition. |
Returns
Type | Description |
---|---|
RemoveStatement<T> | The implementing statement type. |