Interface IStatement

    Definition

    Namespace:
    Tizen.Data.Tdbc
    Assembly:
    Tizen.Data.Tdbc.dll

    TDBC interface for representing statement.

    public interface IStatement : IDisposable

    Methods

    View Source

    Execute(Sql)

    Executes the given Sql.

    Declaration
    bool Execute(Sql sql)
    Parameters
    Type Name Description
    Sql sql

    The sql to execute.

    Returns
    Type Description
    bool

    True if the execution was success, otherwise false.

    View Source

    ExecuteAsync(Sql)

    Executes the given Sql asynchronously.

    Declaration
    Task<bool> ExecuteAsync(Sql sql)
    Parameters
    Type Name Description
    Sql sql

    The sql to execute.

    Returns
    Type Description
    System.Threading.Tasks.Task<TResult><bool>

    True if the execution was success, otherwise false.

    View Source

    ExecuteQuery(Sql)

    Executes the given Sql.

    Declaration
    IResultSet ExecuteQuery(Sql sql)
    Parameters
    Type Name Description
    Sql sql

    The sql to execute.

    Returns
    Type Description
    IResultSet

    The ResultSet object that includes the result of the query.

    View Source

    ExecuteQueryAsync(Sql)

    Executes the given Sql asynchronously.

    Declaration
    Task<IResultSet> ExecuteQueryAsync(Sql sql)
    Parameters
    Type Name Description
    Sql sql

    The sql to execute.

    Returns
    Type Description
    System.Threading.Tasks.Task<TResult><IResultSet>

    The ResultSet object that includes the result of the query.

    View Source

    ExecuteUpdate(Sql)

    Executes the given Sql.

    Declaration
    int ExecuteUpdate(Sql sql)
    Parameters
    Type Name Description
    Sql sql

    The sql to execute.

    Returns
    Type Description
    int

    The number of rows updated.

    View Source

    ExecuteUpdateAsync(Sql)

    Executes the given Sql asynchronously.

    Declaration
    Task<int> ExecuteUpdateAsync(Sql sql)
    Parameters
    Type Name Description
    Sql sql

    The sql to execute.

    Returns
    Type Description
    System.Threading.Tasks.Task<TResult><int>

    The number of rows updated.

    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX