Class E151_ArithmeticMultiply

Assembly: redb.Examples.dll

Demonstrates arithmetic multiplication in Where clause.
Calculates annual salary (monthly * 12) and filters employees earning over 1M per year.
Pro feature: server-side arithmetic expressions.

[ExampleMeta("E151", "Where - Arithmetic Multiply", "Query", ExampleTier.Pro, 151, new string[] { "Arithmetic", "Multiply", "Expression" }, RelatedApis = new string[] { "IRedbQueryable.Where" })]
public class E151_ArithmeticMultiply : ExampleBase

Inheritance

ObjectExampleBaseE151_ArithmeticMultiply

Inherited Members

Methods

RunAsync(IRedbService)

Run the example and return result.

public override Task<ExampleResult> RunAsync(IRedbService redb)