Table of Contents

Class Sql.TableExpressionAttribute

Namespace
LinqToDB
Assembly
linq2db.dll
[Serializable]
[AttributeUsage(AttributeTargets.Method, AllowMultiple = true, Inherited = false)]
public class Sql.TableExpressionAttribute : Sql.TableFunctionAttribute, _Attribute
Inheritance
Sql.TableExpressionAttribute
Implements
Derived
Inherited Members
Extension Methods

Constructors

TableExpressionAttribute(string)

public TableExpressionAttribute(string expression)

Parameters

expression string

TableExpressionAttribute(string, params int[])

public TableExpressionAttribute(string expression, params int[] argIndices)

Parameters

expression string
argIndices int[]

TableExpressionAttribute(string, string)

public TableExpressionAttribute(string sqlProvider, string expression)

Parameters

sqlProvider string
expression string

TableExpressionAttribute(string, string, params int[])

public TableExpressionAttribute(string sqlProvider, string expression, params int[] argIndices)

Parameters

sqlProvider string
expression string
argIndices int[]

Properties

Expression

public string? Expression { get; set; }

Property Value

string

Name

protected string? Name { get; }

Property Value

string

Methods

SetTable<TContext>(DataOptions, TContext, ISqlBuilder, MappingSchema, SqlTable, MethodCallExpression, Func<TContext, Expression, ColumnDescriptor?, ISqlExpression>)

public override void SetTable<TContext>(DataOptions options, TContext context, ISqlBuilder sqlBuilder, MappingSchema mappingSchema, SqlTable table, MethodCallExpression methodCall, Func<TContext, Expression, ColumnDescriptor?, ISqlExpression> converter)

Parameters

options DataOptions
context TContext
sqlBuilder ISqlBuilder
mappingSchema MappingSchema
table SqlTable
methodCall MethodCallExpression
converter Func<TContext, Expression, ColumnDescriptor, ISqlExpression>

Type Parameters

TContext