Table of Contents

Class InboxModelBuilderExtensions

Namespace
Trellis.EntityFrameworkCore
Assembly
Trellis.EntityFrameworkCore.Inbox.dll

EF Core model hook for the transactional inbox.

public static class InboxModelBuilderExtensions
Inheritance
InboxModelBuilderExtensions
Inherited Members

Methods

AddTrellisInbox(ModelBuilder)

Maps the InboxMessage table onto the model. Call from OnModelCreating.

public static ModelBuilder AddTrellisInbox(this ModelBuilder modelBuilder)

Parameters

modelBuilder ModelBuilder

The model builder.

Returns

ModelBuilder

The same model builder for chaining.