Table of Contents

Class TableFunction

Namespace
LinqToDB.Schema
Assembly
linq2db.Tools.dll

Table function descriptor.

public sealed record TableFunction : CallableObject, IEquatable<CallableObject>, IEquatable<TableFunction>
Inheritance
TableFunction
Implements
Inherited Members
Extension Methods

Constructors

TableFunction(SqlObjectName, string?, IReadOnlyCollection<Parameter>, Exception?, IReadOnlyCollection<ResultColumn>?)

Table function descriptor.

public TableFunction(SqlObjectName Name, string? Description, IReadOnlyCollection<Parameter> Parameters, Exception? SchemaError, IReadOnlyCollection<ResultColumn>? Result)

Parameters

Name SqlObjectName

Function name.

Description string

Optional function description.

Parameters IReadOnlyCollection<Parameter>

Ordered list of parameters.

SchemaError Exception

If Result schema failed to load, contains generated exception.

Result IReadOnlyCollection<ResultColumn>

Result set schema or null if schema load failed.

Properties

Result

Result set schema or null if schema load failed.

public IReadOnlyCollection<ResultColumn>? Result { get; init; }

Property Value

IReadOnlyCollection<ResultColumn>

SchemaError

If Result schema failed to load, contains generated exception.

public Exception? SchemaError { get; init; }

Property Value

Exception