Class E124_SumAsync_ef

Assembly: redb.Examples.dll

EF Core twin of : SUM(Salary) and SUM(HomeAddress.Building.Floor) on the
server; the nested floor costs EF two joins.

[ExampleMeta("E124_ef", "EF: SumAsync - Total", "Analytics", ExampleTier.Free, 1, new string[] { "EF", "Sum" })]
public class E124_SumAsync_ef : EfExampleBase

Inheritance

Object→ExampleBase→EfExampleBase→E124_SumAsync_ef

Inherited Members

Methods

RunEfAsync(IDbContextFactory<FlatContext>)

Runs the example through EF Core.

public override Task<ExampleResult> RunEfAsync(IDbContextFactory<FlatContext> contexts)