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