Class E117_ListItemWithObject_ef

Assembly: redb.Examples.dll

EF Core twin of : a city saved with its coordinates, then a list item
"Capital" that points at it, saved together.

[ExampleMeta("E117_ef", "EF: ListItem - With Object", "List", ExampleTier.Free, 1, new string[] { "EF", "List" })]
public class E117_ListItemWithObject_ef : EfExampleBase

Inheritance

Object→ExampleBase→EfExampleBase→E117_ListItemWithObject_ef

Inherited Members

Methods

RunEfAsync(IDbContextFactory<FlatContext>)

Runs the example through EF Core.

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