Table of Contents

Class ScalarFunctionModel

Namespace
LinqToDB.DataModel
Assembly
linq2db.Tools.dll

Scalar function descriptor.

public sealed class ScalarFunctionModel : ScalarFunctionModelBase
Inheritance
ScalarFunctionModel
Inherited Members
Extension Methods

Constructors

ScalarFunctionModel(SqlObjectName, MethodModel, FunctionMetadata)

public ScalarFunctionModel(SqlObjectName name, MethodModel method, FunctionMetadata metadata)

Parameters

name SqlObjectName
method MethodModel
metadata FunctionMetadata

Properties

Return

Gets or sets return value type. Either Return or ReturnTuple must be set, but not both.

public IType? Return { get; set; }

Property Value

IType

ReturnTuple

Gets or sets return value descriptor, when function returns tuple/row. Either Return or ReturnTuple must be set, but not both.

public TupleModel? ReturnTuple { get; set; }

Property Value

TupleModel