Ejemplo n.º 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()));
        }
Ejemplo n.º 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()));
        }
Ejemplo n.º 3
0
        protected override IEventStore GetEventStore(SimpleCqrs.IServiceLocator serviceLocator)
        {
            var configuration = new SqlServerConfiguration(Constants.SampleCQRSConnectionString);

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