Example #1
0
        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()));
        }
Example #2
0
        protected override IEventStore GetEventStore(SimpleCqrs.IServiceLocator serviceLocator)
        {
            var configuration = new SqlServerConfiguration(CONNECTION_STRING);//,

            //"dbo", "binary_event_store");
            return(new SqlServerEventStore(configuration, new BinaryDomainEventSerializer()));
        }
Example #3
0
        protected override IEventStore GetEventStore(SimpleCqrs.IServiceLocator serviceLocator)
        {
            var configuration = new SqlServerConfiguration(Constants.SampleCQRSConnectionString);

            return(new SqlServerEventStore(configuration, new JsonDomainEventSerializer()));
        }