Class CheckpointModelBuilderExtensions
- Namespace
- Trellis.EntityFrameworkCore
- Assembly
- Trellis.EntityFrameworkCore.Inbox.dll
EF Core model hook for the pull-consumer checkpoint table.
public static class CheckpointModelBuilderExtensions
- Inheritance
-
CheckpointModelBuilderExtensions
- Inherited Members
Methods
AddTrellisConsumerCheckpoints(ModelBuilder)
Maps the ConsumerCheckpoint table (TrellisConsumerCheckpoints) onto the model.
Call from OnModelCreating.
public static ModelBuilder AddTrellisConsumerCheckpoints(this ModelBuilder modelBuilder)
Parameters
modelBuilderModelBuilderThe model builder.
Returns
- ModelBuilder
The same model builder for chaining.