Class Precedence
public sealed class Precedence
- Inheritance
-
objectPrecedence
- Extension Methods
Fields
Additive
public const int Additive = 60
Field Value
Bitwise
public const int Bitwise = 40
Field Value
Comparison
public const int Comparison = 50
Field Value
Concatenate
Conservative low-binding precedence for SQL concat (|| / CONCAT(...)).
Real per-provider || precedence varies (e.g. SQLite documents it between unary and
multiplicative; Oracle places it at additive level). Setting it below every other operator
forces parentheses around concat chains whenever they're nested in another operator —
defensive over that variance.
public const int Concatenate = 5
Field Value
LogicalConjunction
public const int LogicalConjunction = 20
Field Value
LogicalDisjunction
public const int LogicalDisjunction = 10
Field Value
LogicalNegation
public const int LogicalNegation = 30
Field Value
Multiplicative
public const int Multiplicative = 80
Field Value
Primary
public const int Primary = 100
Field Value
Subtraction
public const int Subtraction = 70
Field Value
Unary
public const int Unary = 90
Field Value
Unknown
public const int Unknown = 0