Beispiel #1
0
        public void addToList(string name_of_col, string description, string attrib, string source, bool trigger, string trigger_id)
        {
            colConf to_add = new colConf();

            to_add.name_of_col = name_of_col;
            to_add.description = description;
            to_add.attrib      = attrib;
            if (!allOneRecord)
            {
                to_add.source = source;
            }
            if (trigger)
            {
                to_add.firesTrigger = true; to_add.triggerID = trigger_id;
            }
            else
            {
                to_add.firesTrigger = false;
            }
            cols.Add(to_add);
        }
 public void addToList(string name_of_col, string description, string attrib, string source, bool trigger, string trigger_id)
 {
     colConf to_add = new colConf();
     to_add.name_of_col = name_of_col;
     to_add.description = description;
     to_add.attrib = attrib;
     if (!allOneRecord) { to_add.source = source; }
     if (trigger) { to_add.firesTrigger = true; to_add.triggerID = trigger_id; }
     else { to_add.firesTrigger = false; }
     cols.Add(to_add);
 }