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
TableFunctionAttribute(string, string)
public TableFunctionAttribute(string configuration, string name)
Parameters
TableFunctionAttribute(string, string, params int[])
public TableFunctionAttribute(string configuration, string name, params int[] argIndices)
Parameters
Properties
ArgIndices
public int[]? ArgIndices { get; set; }
Property Value
- int[]
Database
public string? Database { get; set; }
Property Value
Name
public string? Name { get; set; }
Property Value
Package
public string? Package { get; set; }
Property Value
Schema
public string? Schema { get; set; }
Property Value
Server
public string? Server { get; set; }
Property Value
Methods
GetObjectID()
Returns mapping attribute id, based on all attribute options.
public override string GetObjectID()
Returns
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
DataOptionscontext
TContextsqlBuilder
ISqlBuildermappingSchema
MappingSchematable
SqlTablemethodCall
MethodCallExpressionconverter
Func<TContext, Expression, ColumnDescriptor, ISqlExpression>
Type Parameters
TContext