Example #1
0
 private void Validate(TableRecurPoint rt)
 {
     foreach (var rr in rt.GetRows())
     {
         Validate(rr);
     }
 }
Example #2
0
 private void Recompute(TableRecurPoint rt)
 {
     foreach (var rr in rt.GetRows())
     {
         Recompute(rr);
     }
 }
Example #3
0
 /// <summary>
 /// Write one child table in dense wire format. Output is [row, row...] where row is the output from the other overload
 /// </summary>
 private static void WriteToDenseWire(JsonTextWriter writer, TableRecurPoint rt)
 {
     writer.WriteStartArray();
     foreach (var rr in rt.GetRows())
     {
         WriteToDenseWire(writer, rr);
     }
     writer.WriteEndArray();
 }
Example #4
0
 /// <summary>
 /// Write one child table in compatible wire format, with property name. Output is: tablename: [...]
 /// </summary>
 private static void WriteToCompatibleWire(JsonTextWriter writer, TableRecurPoint rt)
 {
     writer.WritePropertyName(CamelCasify(rt.TableDef.Name));
     writer.WriteStartArray();
     foreach (var rr in rt.GetRows())
     {
         WriteToCompatibleWire(writer, rr);
     }
     writer.WriteEndArray();
 }
        private void HidePrivateParts(Daton daton, TableRecurPoint rt)
        {
            //clear out the invisible cols in each row and recur
            var invisibleFields = GetInvisibleFields(daton, rt);

            foreach (var rr in rt.GetRows())
            {
                ClearInvisibleFields(invisibleFields, rr.Row);
                HidePrivateParts(daton, rr);
            }
        }