Class E193_AverageAsyncFiltered_ef

Assembly: redb.Examples.dll

EF Core twin of : AVG(Salary) of ages 30 to 40 and of everyone, two queries.

[ExampleMeta("E193_ef", "EF: AverageAsync - With Filter", "Analytics", ExampleTier.Free, 1, new string[] { "EF", "Average" })]
public class E193_AverageAsyncFiltered_ef : EfExampleBase

Inheritance

Object→ExampleBase→EfExampleBase→E193_AverageAsyncFiltered_ef

Inherited Members

Methods

RunEfAsync(IDbContextFactory<FlatContext>)

Runs the example through EF Core.

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