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
systemTypeTypenamestringparametersISqlExpression[]
SqlFunction(Type, string, bool, params ISqlExpression[])
public SqlFunction(Type systemType, string name, bool isAggregate, params ISqlExpression[] parameters)
Parameters
systemTypeTypenamestringisAggregateboolparametersISqlExpression[]
SqlFunction(Type, string, bool, bool, params ISqlExpression[])
public SqlFunction(Type systemType, string name, bool isAggregate, bool isPure, params ISqlExpression[] parameters)
Parameters
systemTypeTypenamestringisAggregateboolisPureboolparametersISqlExpression[]
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
systemTypeTypenamestringisAggregateboolprecedenceintparametersISqlExpression[]
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
subQuerySelectQuery
Returns
CreateAny(SelectQuery)
public static SqlFunction CreateAny(SelectQuery subQuery)
Parameters
subQuerySelectQuery
Returns
CreateCount(Type, ISqlTableSource)
public static SqlFunction CreateCount(Type type, ISqlTableSource table)
Parameters
typeTypetableISqlTableSource
Returns
CreateExists(SelectQuery)
public static SqlFunction CreateExists(SelectQuery subQuery)
Parameters
subQuerySelectQuery
Returns
CreateSome(SelectQuery)
public static SqlFunction CreateSome(SelectQuery subQuery)
Parameters
subQuerySelectQuery
Returns
Deconstruct(out string)
public void Deconstruct(out string name)
Parameters
namestring
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
systemTypeTypenamestringparametersISqlExpression[]
Equals(ISqlExpression?, Func<ISqlExpression, ISqlExpression, bool>)
public bool Equals(ISqlExpression? other, Func<ISqlExpression, ISqlExpression, bool> comparer)
Parameters
otherISqlExpressioncomparerFunc<ISqlExpression, ISqlExpression, bool>
Returns
GetHashCode()
Serves as a hash function for a particular type.
public override int GetHashCode()