Class E002_LoadAsync_ef

Assembly: redb.Examples.dll

EF Core twin of : find any employee, then load it by id, both times as the
whole business object.

[ExampleMeta("E002_ef", "EF: Load Employee by ID", "CRUD", ExampleTier.Free, 1, new string[] { "EF", "Read", "CRUD" })]
public class E002_LoadAsync_ef : EfExampleBase

Inheritance

Object→ExampleBase→EfExampleBase→E002_LoadAsync_ef

Inherited Members

Methods

RunEfAsync(IDbContextFactory<FlatContext>)

Runs the example through EF Core.

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