Ejemplo n.º 1
0
 private void UpdateRules(UpdateRequest request, ServerRow row, Server server)
 {
     if (!request.QueryServerRules)
     return;
       bool ok = ExecuteUpdate(request, row, server, retryCallback =>
       {
     row.Rules = new List<Rule>(server.GetRules(retryCallback));
       });
       if (!ok)
     row.Rules = null;
 }
Ejemplo n.º 2
0
 private void UpdateRules(UpdateRequest request, ServerRow row, Server server)
 {
     if (!row.QueryRules)
     return;
       bool ok = ExecuteUpdate(request, row, server, retryCallback =>
       {
     var rules = server.GetRules(retryCallback);
     if (rules == null) return false;
     row.Rules = new List<Rule>(rules);
     return true;
       });
       if (!ok)
       {
     row.Rules = null;
     row.QueryRules = false;
       }
 }