Class ExpressionInstances
- Namespace
- LinqToDB.Expressions
- Assembly
- linq2db.dll
Contains pre-created instances of ConstantExpression object for often used constants. Using those instances we avoid unnecessary allocations of same constant instances and avoid boxing for value constants (e.g. booleans, integers).
public static class ExpressionInstances
- Inheritance
-
ExpressionInstances
Fields
Constant0
public static readonly ConstantExpression Constant0
Field Value
Constant1
public static readonly ConstantExpression Constant1
Field Value
Constant26
public static readonly ConstantExpression Constant26
Field Value
Constant29
public static readonly ConstantExpression Constant29
Field Value
False
public static readonly ConstantExpression False
Field Value
HashMultiplier
public static readonly Expression HashMultiplier
Field Value
NullIDataContext
public static readonly Expression NullIDataContext
Field Value
True
public static readonly ConstantExpression True
Field Value
UntypedNull
public static readonly ConstantExpression UntypedNull