public bool ConfigureStore() { if (!EsentConfig.DoesDatabaseExist(EsentConfig.DatabaseName)) { EsentConfig.CreateDatabase(); } return(true); }
public bool ConfigureStore(string storeName, StoreTransactionOption storeTransactionOption) { if (!EsentConfig.DoesDatabaseExist("PhantomPubsub.edb")) { EsentConfig.CreateDatabaseAndActorStore(storeName); } else { if (!EsentConfig.DoesStoreExist(storeName)) { EsentConfig.CreateMessageStore(storeName, null); } } return(true); }