Class E095_TreeMove_ef
EF Core twin of : a department moved under OFF-02 and back under OFF-01 by changing
its _id_parent, saved each time. Its subtree follows, since the children point at it.
[ExampleMeta("E095_ef", "EF: Tree Move - Relocate Node", "Trees", ExampleTier.Free, 1, new string[] { "EF", "Tree", "Update" })]
public class E095_TreeMove_ef : EfExampleBase
Inheritance
Inherited Members
ExampleBase.ExplicitlyRequestedIds,ExampleBase.Fail(string, string, ExampleTier, long, string),ExampleBase.GetMeta(),ExampleBase.Ok(string, string, ExampleTier, long, int, string[], string?),ExampleBase.Ok(string, string, ExampleTier, long, string[], string?),ExampleBase.RunAsync(IRedbService),EfExampleBase.Contexts,EfExampleBase.NotSupported(string, string, ExampleTier, string),EfExampleBase.RunAsync(IRedbService),EfExampleBase.RunEfAsync(IDbContextFactory<FlatContext>)
Methods
RunEfAsync(IDbContextFactory<FlatContext>)
Runs the example through EF Core.
public override Task<ExampleResult> RunEfAsync(IDbContextFactory<FlatContext> contexts)