public static IEventFlowOptions UseEntityFrameworkSnapshotStore <TDbContext>( this IEventFlowOptions eventFlowOptions) where TDbContext : DbContext { return(eventFlowOptions .UseSnapshotStore <EntityFrameworkSnapshotPersistence <TDbContext> >()); }
public static IEventFlowOptions UseMsSqlSnapshotStore( this IEventFlowOptions eventFlowOptions) { return(eventFlowOptions .UseSnapshotStore <MsSqlSnapshotPersistence>()); }
public static IEventFlowOptions UseInMemorySnapshotStore( this IEventFlowOptions eventFlowOptions) { return eventFlowOptions.UseSnapshotStore<InMemorySnapshotPersistence>(Lifetime.Singleton); }
public static IEventFlowOptions UseAWSSnapshotStore(this IEventFlowOptions eventFlowOptions) { return(eventFlowOptions.UseSnapshotStore <DynamoDBSnapshotStore>()); }