Class SqlFunction
- Namespace
- LinqToDB.SqlQuery
- Assembly
- linq2db.dll
public class SqlFunction : ISqlExpression, IQueryElement, IEquatable<ISqlExpression>, ISqlExpressionWalkable
- Inheritance
-
SqlFunction
- Implements
-
- Inherited Members
-
- Extension Methods
-
Constructors
SqlFunction(Type, string, params ISqlExpression[])
public SqlFunction(Type systemType, string name, params ISqlExpression[] parameters)
Parameters
systemType
Type
name
string
parameters
ISqlExpression[]
SqlFunction(Type, string, bool, params ISqlExpression[])
public SqlFunction(Type systemType, string name, bool isAggregate, params ISqlExpression[] parameters)
Parameters
systemType
Type
name
string
isAggregate
bool
parameters
ISqlExpression[]
SqlFunction(Type, string, bool, bool, params ISqlExpression[])
public SqlFunction(Type systemType, string name, bool isAggregate, bool isPure, params ISqlExpression[] parameters)
Parameters
systemType
Type
name
string
isAggregate
bool
isPure
bool
parameters
ISqlExpression[]
SqlFunction(Type, string, bool, bool, int, params ISqlExpression[])
public SqlFunction(Type systemType, string name, bool isAggregate, bool isPure, int precedence, params ISqlExpression[] parameters)
Parameters
systemType
Type
name
string
isAggregate
bool
isPure
bool
precedence
int
parameters
ISqlExpression[]
SqlFunction(Type, string, bool, int, params ISqlExpression[])
public SqlFunction(Type systemType, string name, bool isAggregate, int precedence, params ISqlExpression[] parameters)
Parameters
systemType
Type
name
string
isAggregate
bool
precedence
int
parameters
ISqlExpression[]
Properties
CanBeNull
public bool CanBeNull { get; set; }
Property Value
- bool
DoNotOptimize
public bool DoNotOptimize { get; set; }
Property Value
- bool
ElementType
public QueryElementType ElementType { get; }
Property Value
- QueryElementType
IsAggregate
public bool IsAggregate { get; }
Property Value
- bool
IsPure
public bool IsPure { get; }
Property Value
- bool
Name
public string Name { get; }
Property Value
- string
Parameters
public ISqlExpression[] Parameters { get; }
Property Value
- ISqlExpression[]
Precedence
public int Precedence { get; }
Property Value
- int
SystemType
public Type SystemType { get; }
Property Value
- Type
Methods
CreateAll(SelectQuery)
public static SqlFunction CreateAll(SelectQuery subQuery)
Parameters
subQuery
SelectQuery
Returns
- SqlFunction
CreateAny(SelectQuery)
public static SqlFunction CreateAny(SelectQuery subQuery)
Parameters
subQuery
SelectQuery
Returns
- SqlFunction
CreateCount(Type, ISqlTableSource)
public static SqlFunction CreateCount(Type type, ISqlTableSource table)
Parameters
type
Type
table
ISqlTableSource
Returns
- SqlFunction
CreateExists(SelectQuery)
public static SqlFunction CreateExists(SelectQuery subQuery)
Parameters
subQuery
SelectQuery
Returns
- SqlFunction
CreateSome(SelectQuery)
public static SqlFunction CreateSome(SelectQuery subQuery)
Parameters
subQuery
SelectQuery
Returns
- SqlFunction
Deconstruct(out string)
public void Deconstruct(out string name)
Parameters
name
string
Deconstruct(out Type, out string)
public void Deconstruct(out Type systemType, out string name)
Parameters
systemType
Type
name
string
Deconstruct(out Type, out string, out ISqlExpression[])
public void Deconstruct(out Type systemType, out string name, out ISqlExpression[] parameters)
Parameters
systemType
Type
name
string
parameters
ISqlExpression[]
Equals(ISqlExpression?, Func<ISqlExpression, ISqlExpression, bool>)
public bool Equals(ISqlExpression? other, Func<ISqlExpression, ISqlExpression, bool> comparer)
Parameters
other
ISqlExpression
comparer
Func<ISqlExpression, ISqlExpression, bool>
Returns
- bool
GetHashCode()
public override int GetHashCode()
Returns
- int