Class SqlFunction
public class SqlFunction : ISqlExpression, IQueryElement, IEquatable<ISqlExpression>, ISqlExpressionWalkable
- Inheritance
-
SqlFunction
- Implements
- Extension Methods
Constructors
SqlFunction(Type, string, params ISqlExpression[])
public SqlFunction(Type systemType, string name, params ISqlExpression[] parameters)
Parameters
systemType
Typename
stringparameters
ISqlExpression[]
SqlFunction(Type, string, bool, params ISqlExpression[])
public SqlFunction(Type systemType, string name, bool isAggregate, params ISqlExpression[] parameters)
Parameters
systemType
Typename
stringisAggregate
boolparameters
ISqlExpression[]
SqlFunction(Type, string, bool, bool, params ISqlExpression[])
public SqlFunction(Type systemType, string name, bool isAggregate, bool isPure, params ISqlExpression[] parameters)
Parameters
systemType
Typename
stringisAggregate
boolisPure
boolparameters
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
SqlFunction(Type, string, bool, int, params ISqlExpression[])
public SqlFunction(Type systemType, string name, bool isAggregate, int precedence, params ISqlExpression[] parameters)
Parameters
systemType
Typename
stringisAggregate
boolprecedence
intparameters
ISqlExpression[]
Properties
CanBeNull
public bool CanBeNull { get; set; }
Property Value
DoNotOptimize
public bool DoNotOptimize { get; set; }
Property Value
ElementType
public QueryElementType ElementType { get; }
Property Value
IsAggregate
public bool IsAggregate { get; }
Property Value
IsPure
public bool IsPure { get; }
Property Value
Name
public string Name { get; }
Property Value
Parameters
public ISqlExpression[] Parameters { get; }
Property Value
Precedence
public int Precedence { get; }
Property Value
SystemType
public Type SystemType { get; }
Property Value
Methods
CreateAll(SelectQuery)
public static SqlFunction CreateAll(SelectQuery subQuery)
Parameters
subQuery
SelectQuery
Returns
CreateAny(SelectQuery)
public static SqlFunction CreateAny(SelectQuery subQuery)
Parameters
subQuery
SelectQuery
Returns
CreateCount(Type, ISqlTableSource)
public static SqlFunction CreateCount(Type type, ISqlTableSource table)
Parameters
type
Typetable
ISqlTableSource
Returns
CreateExists(SelectQuery)
public static SqlFunction CreateExists(SelectQuery subQuery)
Parameters
subQuery
SelectQuery
Returns
CreateSome(SelectQuery)
public static SqlFunction CreateSome(SelectQuery subQuery)
Parameters
subQuery
SelectQuery
Returns
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
Deconstruct(out Type, out string, out ISqlExpression[])
public void Deconstruct(out Type systemType, out string name, out ISqlExpression[] parameters)
Parameters
systemType
Typename
stringparameters
ISqlExpression[]
Equals(ISqlExpression?, Func<ISqlExpression, ISqlExpression, bool>)
public bool Equals(ISqlExpression? other, Func<ISqlExpression, ISqlExpression, bool> comparer)
Parameters
other
ISqlExpressioncomparer
Func<ISqlExpression, ISqlExpression, bool>
Returns
GetHashCode()
Serves as a hash function for a particular type.
public override int GetHashCode()