Class E158_Parentheses

Assembly: redb.Examples.dll

Demonstrates parentheses for operation priority in Where clause.
Calculates monthly salary (annual / 12) and filters employees earning over $7,000/month.
Pro feature: server-side arithmetic with correct operator precedence.

[ExampleMeta("E158", "Where - Parentheses Priority", "Query", ExampleTier.Pro, 158, new string[] { "Arithmetic", "Parentheses", "Priority" }, RelatedApis = new string[] { "IRedbQueryable.Where" })]
public class E158_Parentheses : ExampleBase

Inheritance

ObjectExampleBaseE158_Parentheses

Inherited Members

Methods

RunAsync(IRedbService)

Run the example and return result.

public override Task<ExampleResult> RunAsync(IRedbService redb)