private DxStoreAccessReply.ExecuteBatch ExecuteBatchInternal(DxStoreAccessRequest.ExecuteBatch request) { this.VerifyInstanceReady(); DxStoreAccessReply.ExecuteBatch executeBatch = this.CreateReply <DxStoreAccessReply.ExecuteBatch>(); DxStoreCommand.ExecuteBatch command = new DxStoreCommand.ExecuteBatch { KeyName = request.FullKeyName, Commands = request.Commands }; executeBatch.WriteResult = this.ExecuteCommand(command, request.WriteOptions, this.UpdateTimeout); return(this.FinishRequest <DxStoreAccessReply.ExecuteBatch>(executeBatch)); }
// Token: 0x060005C7 RID: 1479 RVA: 0x0001618C File Offset: 0x0001438C public void ExecuteBatchRequest(List <DxStoreBatchCommand> commands, ReadWriteConstraints constraints) { WriteOptions writeOptions = this.GetWriteOptions(constraints); this.BaseParameters.KeyFactory.RunOperationAndTranslateException(OperationCategory.ExecuteBatch, this.FullKeyName, delegate() { DxStoreAccessRequest.ExecuteBatch executeBatch = new DxStoreAccessRequest.ExecuteBatch { Commands = commands.ToArray(), WriteOptions = writeOptions }; executeBatch.Initialize(this.FullKeyName, this.BaseParameters.IsPrivate, this.BaseParameters.Self); DxStoreAccessReply.ExecuteBatch executeBatch2 = this.BaseParameters.Client.ExecuteBatch(executeBatch, null); this.SetWriteResult(constraints, executeBatch2.WriteResult); }); }