protected override IEventStore GetEventStore(SimpleCqrs.IServiceLocator serviceLocator) { var configuration = new SqlServerConfiguration("Server=(local)\\sqlexpress;Database=test_event_store;Trusted_Connection=True;", "dbo", "json_event_store"); return(new SqlServerEventStore(configuration, new JsonDomainEventSerializer())); }
protected override IEventStore GetEventStore(SimpleCqrs.IServiceLocator serviceLocator) { var configuration = new SqlServerConfiguration(CONNECTION_STRING);//, //"dbo", "binary_event_store"); return(new SqlServerEventStore(configuration, new BinaryDomainEventSerializer())); }
protected override IEventStore GetEventStore(SimpleCqrs.IServiceLocator serviceLocator) { var configuration = new SqlServerConfiguration(Constants.SampleCQRSConnectionString); return(new SqlServerEventStore(configuration, new JsonDomainEventSerializer())); }