/// <summary> /// Configures the given document store to be used when storing subscriptions /// </summary> /// <param name="cfg"></param> /// <param name="documentStore">The document store to use</param> public static PersistenceExtensions <RavenDBPersistence> UseDocumentStoreForSubscriptions(this PersistenceExtensions <RavenDBPersistence> cfg, IDocumentStore documentStore) { DocumentStoreManager.SetDocumentStore <StorageType.Subscriptions>(cfg.GetSettings(), documentStore); return(cfg); }
/// <summary> /// Exposes saga specific settings. /// </summary> public static SagaSettings SagaSettings(this PersistenceExtensions <SqlPersistence> configuration) { return(new SagaSettings(configuration.GetSettings())); }