public SqlStreamAggregateStore(
            ISqlConnectionFactory sqlConnectionFactory)
        {
            _appendedChanges = new List <IDomainEvent>();

            _streamStore =
                new MsSqlStreamStore(
                    new MsSqlStreamStoreSettings(sqlConnectionFactory.GetConnectionString())
            {
                Schema = DatabaseSchema.Name
            });

            _aggregatesToSave = new List <AggregateToSave>();
        }