Class E075_Select_ef

Assembly: redb.Examples.dll

EF Core twin of : ten fields of 100 employees from every depth, a projection, no
whole object. Nested classes cost EF a join per level, dictionary entries a subquery by key. Without
tracking by nature: there is no entity to track.

[ExampleMeta("E075_ef", "EF: Select - Projection", "Query", ExampleTier.Free, 1, new string[] { "EF" })]
public class E075_Select_ef : EfExampleBase

Inheritance

Object→ExampleBase→EfExampleBase→E075_Select_ef

Inherited Members

Methods

RunEfAsync(IDbContextFactory<FlatContext>)

Runs the example through EF Core.

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