Search Results for

    Show / Hide Table of Contents
    View Source

    Class SqlSyntaxExtensions

    Provides extension methods to ISqlSyntaxProvider.

    Inheritance
    System.Object
    Namespace: Umbraco.Extensions
    Assembly: Umbraco.Infrastructure.dll
    Syntax
    public static class SqlSyntaxExtensions

    Methods

    View Source

    GetFieldName<TDto>(ISqlSyntaxProvider, Expression<Func<TDto, Object>>, String)

    Gets a quoted table and field name.

    Declaration
    public static string GetFieldName<TDto>(this ISqlSyntaxProvider sqlSyntax, Expression<Func<TDto, object>> fieldSelector, string tableAlias = null)
    Parameters
    Type Name Description
    ISqlSyntaxProvider sqlSyntax

    An ISqlSyntaxProvider.

    System.Linq.Expressions.Expression<Func<TDto, System.Object>> fieldSelector

    An expression specifying the field.

    System.String tableAlias

    An optional table alias.

    Returns
    Type Description
    System.String
    Type Parameters
    Name Description
    TDto

    The type of the DTO.

    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • GetFieldName<TDto>(ISqlSyntaxProvider, Expression<Func<TDto, Object>>, String)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX