Search Results for

    Show / Hide Table of Contents
    View Source

    Class SqlTemplate

    Inheritance
    object
    Namespace: Umbraco.Cms.Infrastructure.Persistence
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public class SqlTemplate

    Methods

    View Source

    Arg(string)

    Gets a named argument.

    Declaration
    public static object Arg(string name)
    Parameters
    Type Name Description
    string name
    Returns
    Type Description
    object
    View Source

    ArgIn<T>(string)

    Gets a WHERE IN expression argument.

    Declaration
    public static IEnumerable<T?> ArgIn<T>(string name)
    Parameters
    Type Name Description
    string name
    Returns
    Type Description
    IEnumerable<T>
    Type Parameters
    Name Description
    T
    View Source

    Arg<T>(string)

    Gets a WHERE expression argument.

    Declaration
    public static T? Arg<T>(string name)
    Parameters
    Type Name Description
    string name
    Returns
    Type Description
    T
    Type Parameters
    Name Description
    T
    View Source

    Sql()

    Declaration
    public Sql<ISqlContext> Sql()
    Returns
    Type Description
    Sql<ISqlContext>
    View Source

    Sql(params object[])

    Declaration
    public Sql<ISqlContext> Sql(params object[] args)
    Parameters
    Type Name Description
    object[] args
    Returns
    Type Description
    Sql<ISqlContext>
    View Source

    SqlNamed(object)

    Declaration
    public Sql<ISqlContext> SqlNamed(object nargs)
    Parameters
    Type Name Description
    object nargs
    Returns
    Type Description
    Sql<ISqlContext>
    • Edit this page
    • View Source
    In this article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX