public InsertOrReplaceOperationBuilder(IMyNoSqlGrpcServerWriter myNoSqlGrpcServer,
                                        string tableName, string partitionKey, string rowKey, byte[] content)
 {
     _myNoSqlGrpcServer = myNoSqlGrpcServer;
     _tableName         = tableName;
     _partitionKey      = partitionKey;
     _rowKey            = rowKey;
     _content           = content;
     _expirationTime    = null;
 }
Exemplo n.º 2
0
 public GetOperationBuilder(IMyNoSqlGrpcServerWriter myNoSqlGrpcServer, Func <ReadOnlyMemory <byte>, T> deserializer,
                            string tableName)
 {
     _myNoSqlGrpcServer = myNoSqlGrpcServer;
     _deserializer      = deserializer;
     _tableName         = tableName;
     _limitRecords      = 0;
     _skipRecords       = 0;
     _partitionKey      = null;
 }
 public MyNoSqlGrpcWriter(IMyNoSqlGrpcServerWriter myNoSqlGrpcServerWriter, string tableName)
 {
     _tableName         = tableName.ToLower();
     _myNoSqlGrpcServer = myNoSqlGrpcServerWriter;
 }