Class E187_UpdateExisting_ef

Assembly: redb.Examples.dll

EF Core twin of : an employee saved, loaded whole with tracking, three fields
changed and saved, loaded again to verify, then deleted.

[ExampleMeta("E187_ef", "EF: Update - Existing Object", "CRUD", ExampleTier.Free, 1, new string[] { "EF", "Update" })]
public class E187_UpdateExisting_ef : EfExampleBase

Inheritance

Object→ExampleBase→EfExampleBase→E187_UpdateExisting_ef

Inherited Members

Methods

RunEfAsync(IDbContextFactory<FlatContext>)

Runs the example through EF Core.

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