Exemple #1
0
 public static IEventFlowOptions UseEntityFrameworkEventStore <TDbContext>(
     this IEventFlowOptions eventFlowOptions)
     where TDbContext : DbContext
 {
     return(eventFlowOptions
            .UseEventStore <EntityFrameworkEventPersistence <TDbContext> >());
 }
Exemple #2
0
 public static IEventFlowOptions UseMongoDbEventStore(this IEventFlowOptions eventFlowOptions)
 {
     return(eventFlowOptions.UseEventStore <MongoDbEventPersistence>()
            .RegisterServices(f => f.Register <IMongoDbEventPersistenceInitializer, MongoDbEventPersistenceInitializer>()));
 }
 public static IEventFlowOptions UseEventStoreEventStore(
     this IEventFlowOptions eventFlowOptions)
 {
     return(eventFlowOptions.UseEventStore <EventStoreEventPersistence>());
 }
 public static IEventFlowOptions UseAWSEventStore(this IEventFlowOptions eventFlowOptions)
 {
     return(eventFlowOptions.UseEventStore <DynamoDBEventStore>());
 }