Search Results for

    Show / Hide Table of Contents

    Class Sql.QueryExtensionAttribute

    Defines custom query extension builder.

    Inheritance
    System.Object
    MappingAttribute
    Sql.QueryExtensionAttribute
    Namespace: LinqToDB
    Assembly: linq2db.dll
    Syntax
    public class QueryExtensionAttribute : MappingAttribute

    Constructors

    | Improve this Doc View Source

    QueryExtensionAttribute(Sql.QueryExtensionScope, Type)

    Declaration
    public QueryExtensionAttribute(Sql.QueryExtensionScope scope, Type extensionBuilderType)
    Parameters
    Type Name Description
    Sql.QueryExtensionScope scope
    Type extensionBuilderType
    | Improve this Doc View Source

    QueryExtensionAttribute(Sql.QueryExtensionScope, Type, String[])

    Declaration
    public QueryExtensionAttribute(Sql.QueryExtensionScope scope, Type extensionBuilderType, params string[] extensionArguments)
    Parameters
    Type Name Description
    Sql.QueryExtensionScope scope
    Type extensionBuilderType
    System.String[] extensionArguments
    | Improve this Doc View Source

    QueryExtensionAttribute(Nullable<String>, Sql.QueryExtensionScope, Type)

    Declaration
    public QueryExtensionAttribute(string? configuration, Sql.QueryExtensionScope scope, Type extensionBuilderType)
    Parameters
    Type Name Description
    System.Nullable<System.String> configuration
    Sql.QueryExtensionScope scope
    Type extensionBuilderType
    | Improve this Doc View Source

    QueryExtensionAttribute(Nullable<String>, Sql.QueryExtensionScope, Type, String)

    Declaration
    public QueryExtensionAttribute(string? configuration, Sql.QueryExtensionScope scope, Type extensionBuilderType, string extensionArgument)
    Parameters
    Type Name Description
    System.Nullable<System.String> configuration
    Sql.QueryExtensionScope scope
    Type extensionBuilderType
    System.String extensionArgument
    | Improve this Doc View Source

    QueryExtensionAttribute(Nullable<String>, Sql.QueryExtensionScope, Type, String, String)

    Declaration
    public QueryExtensionAttribute(string? configuration, Sql.QueryExtensionScope scope, Type extensionBuilderType, string extensionArgument0, string extensionArgument1)
    Parameters
    Type Name Description
    System.Nullable<System.String> configuration
    Sql.QueryExtensionScope scope
    Type extensionBuilderType
    System.String extensionArgument0
    System.String extensionArgument1
    | Improve this Doc View Source

    QueryExtensionAttribute(Nullable<String>, Sql.QueryExtensionScope, Type, String[])

    Declaration
    public QueryExtensionAttribute(string? configuration, Sql.QueryExtensionScope scope, Type extensionBuilderType, params string[] extensionArguments)
    Parameters
    Type Name Description
    System.Nullable<System.String> configuration
    Sql.QueryExtensionScope scope
    Type extensionBuilderType
    System.String[] extensionArguments

    Properties

    | Improve this Doc View Source

    Configuration

    Declaration
    public string? Configuration { get; }
    Property Value
    Type Description
    System.Nullable<System.String>
    | Improve this Doc View Source

    ExtensionArguments

    Declaration
    public string[] ExtensionArguments { get; set; }
    Property Value
    Type Description
    System.String[]
    | Improve this Doc View Source

    ExtensionBuilderType

    Instance of ISqlExtensionBuilder.

    Declaration
    public Type? ExtensionBuilderType { get; set; }
    Property Value
    Type Description
    System.Nullable<Type>
    | Improve this Doc View Source

    Scope

    Declaration
    public Sql.QueryExtensionScope Scope { get; }
    Property Value
    Type Description
    Sql.QueryExtensionScope

    Methods

    | Improve this Doc View Source

    ExtendJoin(List<SqlQueryExtension>, List<SqlQueryExtensionData>)

    Declaration
    public virtual void ExtendJoin(List<SqlQueryExtension> extensions, List<SqlQueryExtensionData> parameters)
    Parameters
    Type Name Description
    List<SqlQueryExtension> extensions
    List<SqlQueryExtensionData> parameters
    | Improve this Doc View Source

    ExtendQuery(List<SqlQueryExtension>, List<SqlQueryExtensionData>)

    Declaration
    public virtual void ExtendQuery(List<SqlQueryExtension> extensions, List<SqlQueryExtensionData> parameters)
    Parameters
    Type Name Description
    List<SqlQueryExtension> extensions
    List<SqlQueryExtensionData> parameters
    | Improve this Doc View Source

    ExtendSubQuery(List<SqlQueryExtension>, List<SqlQueryExtensionData>)

    Declaration
    public virtual void ExtendSubQuery(List<SqlQueryExtension> extensions, List<SqlQueryExtensionData> parameters)
    Parameters
    Type Name Description
    List<SqlQueryExtension> extensions
    List<SqlQueryExtensionData> parameters
    | Improve this Doc View Source

    ExtendTable(SqlTable, List<SqlQueryExtensionData>)

    Declaration
    public virtual void ExtendTable(SqlTable table, List<SqlQueryExtensionData> parameters)
    Parameters
    Type Name Description
    SqlTable table
    List<SqlQueryExtensionData> parameters
    | Improve this Doc View Source

    GetExtension(List<SqlQueryExtensionData>)

    Declaration
    public virtual SqlQueryExtension GetExtension(List<SqlQueryExtensionData> parameters)
    Parameters
    Type Name Description
    List<SqlQueryExtensionData> parameters
    Returns
    Type Description
    SqlQueryExtension
    | Improve this Doc View Source

    GetExtensionAttributes(Expression, MappingSchema)

    Declaration
    public static Sql.QueryExtensionAttribute[] GetExtensionAttributes(Expression expression, MappingSchema mapping)
    Parameters
    Type Name Description
    Expression expression
    MappingSchema mapping
    Returns
    Type Description
    Sql.QueryExtensionAttribute[]
    | Improve this Doc View Source

    GetObjectID()

    Declaration
    public override string GetObjectID()
    Returns
    Type Description
    System.String
    Overrides
    MappingAttribute.GetObjectID()

    Extension Methods

    Map.DeepCopy<T>(T)
    Sql.IsDistinctFrom<T>(T, T)
    Sql.IsNotDistinctFrom<T>(T, T)
    SqlExtensions.In<T>(T, IEnumerable<T>)
    SqlExtensions.In<T>(T, IQueryable<T>)
    SqlExtensions.In<T>(T, T[])
    SqlExtensions.In<T>(T, T, T)
    SqlExtensions.In<T>(T, T, T, T)
    SqlExtensions.NotIn<T>(T, IEnumerable<T>)
    SqlExtensions.NotIn<T>(T, IQueryable<T>)
    SqlExtensions.NotIn<T>(T, T[])
    SqlExtensions.NotIn<T>(T, T, T)
    SqlExtensions.NotIn<T>(T, T, T, T)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2011-2022 linq2db.com

    Generated by DocFX