Search Results for

    Show / Hide Table of Contents

    Class SqlStatement

    An SQL statement to be executed by an IDatabaseGateway.

    Inheritance
    object
    SqlStatement
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Activout.DatabaseClient
    Assembly: Activout.DatabaseClient.dll
    Syntax
    public class SqlStatement

    Properties

    | Edit this page View Source

    EffectiveType

    The type to map each result row to.

    Declaration
    public required Type EffectiveType { get; init; }
    Property Value
    Type Description
    Type
    | Edit this page View Source

    Parameters

    The parameters to bind.

    Declaration
    public IList<QueryParameter> Parameters { get; }
    Property Value
    Type Description
    IList<QueryParameter>
    | Edit this page View Source

    Sql

    The SQL text.

    Declaration
    public required string Sql { get; init; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Transaction

    The transaction to run in, or null for none.

    Declaration
    public IDbTransaction? Transaction { get; init; }
    Property Value
    Type Description
    IDbTransaction
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX