Search Results for

    Show / Hide Table of Contents

    Class RemoveStatement<T>

    Represents a chaining collection remove statement.

    Inheritance
    System.Object
    BaseStatement<Result, T>
    TargetedBaseStatement<Collection<T>, Result, T>
    FilterableStatement<RemoveStatement<T>, Collection<T>, Result, T>
    RemoveStatement<T>
    Namespace: MySqlX.XDevAPI.CRUD
    Assembly: MySql.Data.dll
    Version: 9.3.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.

    In This Article
    Back to top Copyright © 2021, 2025, Oracle and/or its affiliates.