Skip to content

EF Core outbox enlistment through interceptors #29

Closed

Description

@thomhurst

Implement design §6.2 for EF Core.

Scope

  • SaveChangesInterceptor and DbTransactionInterceptor add outbox rows to the same transaction.
  • No SaveChanges override needed. Several DbContexts in one app are supported.
  • Committing either through SaveChangesAsync or a user-started transaction works.
  • Outbox rows are written in one batched insert per transaction.

Acceptance criteria

  • Tests for implicit transactions, explicit transactions, rollback (no messages sent) and multiple DbContexts.

Depends on: #28

See docs/design.md and docs/decisions.md.

Activity

  1. thomhurst commented on Nov 1, 2026

    @thomhurst
    OwnerAuthor

    Triage against origin/main 66f3349: the EF Core package currently contains only options; transaction interceptors remain unimplemented. Added native blocked-by #28 for the durable store/schema foundation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions