Class E183_FirstOrDefaultAsync

Assembly: redb.Examples.dll

Demonstrates FirstOrDefaultAsync to get a single object matching criteria.
Returns the first match or null if none found.

[ExampleMeta("E183", "FirstOrDefaultAsync", "Query", ExampleTier.Free, 183, new string[] { "First", "Single", "Query" }, RelatedApis = new string[] { "IRedbQueryable.FirstOrDefaultAsync" })]
public class E183_FirstOrDefaultAsync : ExampleBase

Inheritance

ObjectExampleBaseE183_FirstOrDefaultAsync

Inherited Members

Methods

RunAsync(IRedbService)

Run the example and return result.

public override Task<ExampleResult> RunAsync(IRedbService redb)