public MyNoSqlGrpcServerWriter(DbTablesList dbTablesList, SyncEventsPusher syncEventsPusher, SyncEventsQueue syncEventsQueue) { Console.WriteLine("Creating MyNoSqlGrpcServerWriter"); _dbTablesList = dbTablesList; _syncEventsPusher = syncEventsPusher; _syncEventsQueue = syncEventsQueue; }
public static DbTable GetTable(this DbTablesList dbTablesList, string tableName) { var table = dbTablesList.TryGetTable(tableName); if (table == null) { throw new Exception($"Table {tableName} is not found"); } return(table); }
public MyNoSqlGrpcServerReader(MyNoSqlReaderSessionsList sessionsList, DbTablesList dbTablesList, IMyNoSqlGrpcEngineSettings settings) { _sessionsList = sessionsList; _dbTablesList = dbTablesList; _settings = settings; }
public TablesController(DbTablesList dbTablesList) { _dbTablesList = dbTablesList; }