Class E152_ArithmeticAddFields

Assembly: redb.Examples.dll

Demonstrates arithmetic operations combining multiple fields in Where clause.
Creates a "scoring" formula using Age and Salary to find senior valuable employees.
Pro feature: server-side arithmetic with multiple Props fields.

[ExampleMeta("E152", "Where - Arithmetic Add Fields", "Query", ExampleTier.Pro, 152, new string[] { "Arithmetic", "Add", "MultiField" }, RelatedApis = new string[] { "IRedbQueryable.Where" })]
public class E152_ArithmeticAddFields : ExampleBase

Inheritance

ObjectExampleBaseE152_ArithmeticAddFields

Inherited Members

Methods

RunAsync(IRedbService)

Run the example and return result.

public override Task<ExampleResult> RunAsync(IRedbService redb)