Table of Contents

Class AsiBackboneEntityFrameworkCoreBuilderExtensions

Namespace
AsiBackbone.EntityFrameworkCore
Assembly
AsiBackbone.EntityFrameworkCore.dll

Provides explicit builder facade extension methods for EF Core host-owned persistence.

public static class AsiBackboneEntityFrameworkCoreBuilderExtensions
Inheritance
AsiBackboneEntityFrameworkCoreBuilderExtensions
Inherited Members

Remarks

Each method binds its stores to the TDbContext named at that call site. The open DbContext service is never registered, so a host can point different stores at different contexts, and none of these calls collide with a DbContext registration the host owns.

Methods

UseEfCoreAuditLedger<TDbContext>(IAsiBackboneBuilder)

Adds EF Core audit ledger storage through the AsiBackbone builder facade.

public static IAsiBackboneBuilder UseEfCoreAuditLedger<TDbContext>(this IAsiBackboneBuilder builder) where TDbContext : DbContext

Parameters

builder IAsiBackboneBuilder

The AsiBackbone builder.

Returns

IAsiBackboneBuilder

The same builder so calls can be chained.

Type Parameters

TDbContext

The host-owned context holding the audit ledger set.

UseEfCoreAuditLifecycle<TDbContext>(IAsiBackboneBuilder)

Adds EF Core decision receipt lifecycle storage through the AsiBackbone builder facade.

public static IAsiBackboneBuilder UseEfCoreAuditLifecycle<TDbContext>(this IAsiBackboneBuilder builder) where TDbContext : DbContext

Parameters

builder IAsiBackboneBuilder

The AsiBackbone builder.

Returns

IAsiBackboneBuilder

The same builder so calls can be chained.

Type Parameters

TDbContext

The host-owned context holding the lifecycle set.

UseEfCoreGovernanceOutbox<TDbContext>(IAsiBackboneBuilder)

Adds outcome-aware EF Core durable outbox storage through the AsiBackbone builder facade.

public static IAsiBackboneBuilder UseEfCoreGovernanceOutbox<TDbContext>(this IAsiBackboneBuilder builder) where TDbContext : DbContext

Parameters

builder IAsiBackboneBuilder

The AsiBackbone builder.

Returns

IAsiBackboneBuilder

The same builder so calls can be chained.

Type Parameters

TDbContext

The host-owned context holding the outbox set.