Class E182_DeleteBatch_ef

Assembly: redb.Examples.dll

EF Core twin of : five employees saved, loaded as whole objects, deleted in one
statement (the cascade removes their Props rows) and looked up again.

[ExampleMeta("E182_ef", "EF: Delete - Batch", "Core", ExampleTier.Free, 1, new string[] { "EF", "Delete" })]
public class E182_DeleteBatch_ef : EfExampleBase

Inheritance

Object→ExampleBase→EfExampleBase→E182_DeleteBatch_ef

Inherited Members

Methods

RunEfAsync(IDbContextFactory<FlatContext>)

Runs the example through EF Core.

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