public SeedManager( IRethinkDbDelegateBus rethinkDbDelegateBus, IDatabaseManager databaseManager, IEnumerable <ISeeder> seeders) { _rethinkDbDelegateBus = rethinkDbDelegateBus; _databaseManager = databaseManager; _seeders = seeders; }
public EventStore( IRethinkDbConnectionFactory connectionFactory, IRethinkDbDelegateBus rethinkDbDelegateBus ) : base(connectionFactory, rethinkDbDelegateBus) { _eventTable = R.Db(DbName).Table(TableName); _groupUserTable = R.Db(DbName).Table(nameof(GroupUser)); _channelUserTable = R.Db(DbName).Table(nameof(ChannelUser)); _chatUserTable = R.Db(DbName).Table(nameof(ChatUser)); }
protected Store( IRethinkDbConnectionFactory connectionFactory, IRethinkDbDelegateBus rethinkDbDelegateBus ) { Connection = connectionFactory.CreateConnection(); Connection.CheckOpen(); DbName = connectionFactory.GetOptions().Database; TableName = typeof(TDocument).Name; _rethinkDbDelegateBus = rethinkDbDelegateBus; }
public ChatUserStore( IRethinkDbConnectionFactory connectionFactory, IRethinkDbDelegateBus rethinkDbDelegateBus ) : base(connectionFactory, rethinkDbDelegateBus) { }
public MessageStore( IRethinkDbConnectionFactory connectionFactory, IRethinkDbDelegateBus rethinkDbDelegateBus ) : base(connectionFactory, rethinkDbDelegateBus) { }
public TransactionFilter(IRethinkDbDelegateBus rethinkDbDelegateBus, IDatabaseManager databaseManager) { _rethinkDbDelegateBus = rethinkDbDelegateBus; _databaseManager = databaseManager; }