Class E088_TreeCreateBulk_ef
EF Core twin of : the same four-level department tree, built as one entity
graph (children point at their parent entity) and written by one SaveChangesAsync.
[ExampleMeta("E088_ef", "EF: Tree Create BULK - Fast", "Trees", ExampleTier.Free, 1, new string[] { "EF", "Tree", "BulkInsert" })]
public class E088_TreeCreateBulk_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)