public MartenApp() { AlterSettings <StoreOptions>(_ => { _.Connection(ConnectionSource.GetConnectionString()); _.AutoCreateSchemaObjects = AutoCreate.All; }); //Policies.Local.Add<TransactionalBehaviorPolicy>(); }
public void set_up_connection_string() { ConnectionSource.SetConnectionString("Host=localhost;Username=postgres;Password=jasper;Database=marten_test"); }