Table of Contents

Class SqlArgumentDomains

Namespace
LinqToDB.Internal.SqlQuery
Assembly
linq2db.dll

The domain an aggregate's result draws from, by the name the function is built with.

public static class SqlArgumentDomains
Inheritance
object
SqlArgumentDomains

Remarks

Shared because the same three names are built on two surfaces - an ordinary aggregate and a window function - and a name that answered differently depending on which asked would put two domains on one function. That is not merely untidy: SqlExtendedFunction compares its domain, so two nodes alike in everything else would stop being interchangeable.

Methods

ForAggregate(string)

The domain for functionName, or None where the argument does not describe the result.

public static SqlArgumentDomain ForAggregate(string functionName)

Parameters

functionName string

Name the function is built with.

Returns

SqlArgumentDomain