public MyNoSqlServerClient(IMyNoSqlConnection myNoSqlConnection, string tableName, DataSynchronizationPeriod dataSynchronizationPeriod = DataSynchronizationPeriod.Sec5) { _myNoSqlConnection = myNoSqlConnection; _dataSynchronizationPeriod = dataSynchronizationPeriod; _tableName = tableName.ToLower(); Task.Run(CreateTableIfNotExistsAsync); }
public MyNoSqlReadRepository(IMyNoSqlConnection subscriber, string tableName) { subscriber.Subscribe <T>(tableName, Init, InitPartition, Update, Delete); }