Table of Contents

Class Sql.TableFunctionAttribute

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

Constructors

TableFunctionAttribute()

public TableFunctionAttribute()

TableFunctionAttribute(string)

public TableFunctionAttribute(string name)

Parameters

name string

TableFunctionAttribute(string, params int[])

public TableFunctionAttribute(string name, params int[] argIndices)

Parameters

name string
argIndices int[]

TableFunctionAttribute(string, string)

public TableFunctionAttribute(string configuration, string name)

Parameters

configuration string
name string

TableFunctionAttribute(string, string, params int[])

public TableFunctionAttribute(string configuration, string name, params int[] argIndices)

Parameters

configuration string
name string
argIndices int[]

Properties

ArgIndices

public int[]? ArgIndices { get; set; }

Property Value

int[]

Database

public string? Database { get; set; }

Property Value

string

Name

public string? Name { get; set; }

Property Value

string

Package

public string? Package { get; set; }

Property Value

string

Schema

public string? Schema { get; set; }

Property Value

string

Server

public string? Server { get; set; }

Property Value

string

Methods

GetObjectID()

Returns mapping attribute id, based on all attribute options.

public override string GetObjectID()

Returns

string

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

public virtual 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