Class E072_AnyWithPredicate

Assembly: redb.Examples.dll

Check if any employees match a condition using AnyAsync(predicate).
More efficient than Where().AnyAsync() - stops at first match.

[ExampleMeta("E072", "AnyAsync - With Predicate", "Query", ExampleTier.Free, 72, new string[] { "Any", "Predicate", "Filter" }, RelatedApis = new string[] { "IRedbQueryable.AnyAsync" })]
public class E072_AnyWithPredicate : ExampleBase

Inheritance

ObjectExampleBaseE072_AnyWithPredicate

Inherited Members

Methods

RunAsync(IRedbService)

Run the example and return result.

public override Task<ExampleResult> RunAsync(IRedbService redb)