Class E087_TreeCleanup_ef

Assembly: redb.Examples.dll

EF Core twin of : every department node loaded, then removed. EF has no trash,
so the nodes are deleted for good (the cascade on _id_parent and on the Props rows does the rest).

[ExampleMeta("E087_ef", "EF: Tree Cleanup - Remove All", "Trees", ExampleTier.Free, 1, new string[] { "EF", "Tree", "Delete" })]
public class E087_TreeCleanup_ef : EfExampleBase

Inheritance

Object→ExampleBase→EfExampleBase→E087_TreeCleanup_ef

Inherited Members

Methods

RunEfAsync(IDbContextFactory<FlatContext>)

Runs the example through EF Core.

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