Class E011_WhereAnd_ef

Assembly: redb.Examples.dll

EF Core twin of : Age >= 30 AND Salary > 70000, up to 100 whole employees.
OrderBy(_id) is EF's own need, the redb query has none: with split queries and Take, every child query must pick the same employees.

[ExampleMeta("E011_ef", "EF: Where - AND Condition", "Query", ExampleTier.Free, 1, new string[] { "EF" })]
public class E011_WhereAnd_ef : EfExampleBase

Inheritance

Object→ExampleBase→EfExampleBase→E011_WhereAnd_ef

Inherited Members

Methods

RunEfAsync(IDbContextFactory<FlatContext>)

Runs the example through EF Core.

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